How do I get rotation value from rolling ball-physics

Get help using Construct 2

Post » Mon Jun 29, 2015 6:05 pm

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!
B
4
Posts: 2
Reputation: 218

Post » Mon Jun 29, 2015 7:43 pm

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"
B
17
S
7
Posts: 280
Reputation: 2,522

Post » Mon Jun 29, 2015 7:50 pm

Wow, thats it! Works great.

Thanks a lot RayKi
B
4
Posts: 2
Reputation: 218


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests