Forum

User posts Axeg
20 November 2015 04:18
Hi Rodygin and thanks for the response,
math part is not a problem, i've supposed that it would be somthing in PI.

The part a don't understand are settings in blender.
When everithing is loaded, if i anchor transformations on mouse click or other events, nothing happens.

Can you give me some tips to set my blend file before export (in blender there are only a cube on a plane)?
Thanks so much!

EDIT:
I've tested the code without enabling physics and it seems to work. But the question is that i want to make roll the Cube on the plane by pressing respective arrows button on keyboard.

THANKS AGAIN!


19 November 2015 11:27
Hi to everyone,
i'm new to B4W but i've worked on some projects with it with great results. Now i'm trying to go forward and pass to interactive animation with object (to make simples games).
The guide "Making your first game" on controls with objects so i'm trying to understand that simple question. How i can animate a cube rotation around his edges dinamically by pressing relatives arrows without configuring previous animations on blender file?

I've exported a cube with dynamic phisycs on a plane (this last one also with physics but static).
Thank you very much for time you decide to dedicate to my question.