How can I trigger the blockly "on activiate of Camera" ?

28 views
Skip to first unread message

c...@gtrainerdemo.gfecthk.com

unread,
Oct 8, 2017, 3:20:29 AM10/8/17
to CoSpaces

How can I trigger the "on activiate of Camera" ? I have try to move the Camera of do anything on the screen, but the blockly dones't work. Do I make something wrong? Thanks

Benjamin Singh

unread,
Oct 9, 2017, 5:00:06 AM10/9/17
to CoSpaces
Hi,

I'm not sure what exactly you're trying to do because using "on activate of" on the camera object itself isn't going to work. You're are viewing the scene from the camera object, therefore you can use the "on activate of" event on other objects in the scene like this:


If you want to move the camera using Blockly you can just enable it for Blockly, set it to "Fly" mode and use the "move" block to move it.





This way you also can move the camera when you're clicking on another object.


Benjamin


Reply all
Reply to author
Forward
0 new messages