Page 1 of 1

How do I get rotation value from rolling ball-physics

PostPosted: Mon Jun 29, 2015 6:05 pm
by labello
transfered continously and stepless to another objects Rotation?
Im an absolute nube and could not find no other way than this:

event: "myRollingBall" "physics angular velocity >10" - action: "myWheel" set rotate Speed to 10 degrees per second

event: "myRollingBall" "physics angular velocity >20" - action: "myWheel" set rotate Speed to 20 degrees per second

and so on

is there something more elegant like an expression for this?

Thanks!

Re: How do I get rotation value from rolling ball-physics

PostPosted: Mon Jun 29, 2015 7:43 pm
by RayKi
I don't know if this is what you wanna do but... maybe this?

event: every tick - action: "myWheel" set rotate Speed to "myrollingball.physics.angularvelocity"

Re: How do I get rotation value from rolling ball-physics

PostPosted: Mon Jun 29, 2015 7:50 pm
by labello
Wow, thats it! Works great.

Thanks a lot RayKi