Unity style Update function
23 January 2018 21:18
24 January 2018 15:16
I'm kinda stumped by this, in three.js you can use a function update(), whereas in blend4web it doesn't seem to be that simple…
How would I go about making a Unity like Update function?
I need it to rotate an object when I click and drag it, amongst other things.
The simplest way to add mouse events interactivity to your scene could be found for example in this code snippet or in this tutorial.
For more complex logic blend4web utilizes sensor manifolds.