Forum

Rotation of a Cube

01 November 2016 15:04
Hi,

I try to drop down a cube with the physics properties. With random numbers, a rotation should happen before the cube is falling down. I first tried the node editor, but no luck so far.
What is the missing part or is it only possible with JavaScript?

01 November 2016 16:01
I try to drop down a cube with the physics properties. With random numbers, a rotation should happen before the cube is falling down. I first tried the node editor, but no luck so far.
What is the missing part or is it only possible with JavaScript?
Hello!

Unfortunately, for now objects with "Dynamic" or "Rigid Body" physics type can't be relocated via logic nodes or API methods from JS module "transform" (which is used inside the logic editor). These objects should be controlled via JS methods from the "physics" module.

However, we plan to change this behaviour in the future
Blend4Web Team - developer
Twitter
LinkedIn
01 November 2016 16:24
Thanks for the answer, by the way, your team is doing a great job! Until the feature is implemented I have to learn many other things about blender and blend4web, so I can wait …
 
Please register or log in to leave a reply.