Calculate a speed of the Object...

Get help using Construct 2

Post » Tue Sep 18, 2012 6:21 pm

Hi again, guys!

Does anybody know how to calculate a speed of the object in physics mode? Is there a special system variable or I have to make some manual calculations and then assing to a self-created variable? (if it's so - do you have an example?)

Thanx!smokinsouls2012-09-18 18:23:10
B
3
Posts: 9
Reputation: 418

Post » Tue Sep 18, 2012 6:47 pm

I think you can use Sprite.Physics.VelocityX and VelocityY.

Something like this?
https://dl.dropbox.com/u/55358831/helping/physics-speed.capx
B
33
S
6
G
1
Posts: 180
Reputation: 3,630

Post » Tue Sep 18, 2012 7:43 pm

Thank you!

It's a good example. Seems to be the function I need!
B
3
Posts: 9
Reputation: 418


Return to How do I....?

Who is online

Users browsing this forum: Matthew de and 24 guests