moving object final position

Get help using Construct 2

Post » Sat May 11, 2013 9:42 am

Hi

I have a simple question if someone here is more keen on math/physics than I am.. ;)

If I have an object (bullet behaviour) I know his angle, his speed and it's set with a negative acceleration (to make it decelerate, let's say "-140").

I need to calculate the exact x,y point where it's going to stop.

Which is the formula to find these coordinates?

B
5
S
1
G
2
Posts: 22
Reputation: 1,824

Post » Sat May 11, 2013 2:08 pm

Add Event --> Object speed = 0   Add action --> Object --> Object x & y to var or textbox
B
18
S
6
G
3
Posts: 197
Reputation: 4,129

Post » Sat May 11, 2013 2:24 pm

no, i need to know these coordinates while the object is still moving..

there must be some calculation that involves speed, acceleration and angle that gives me the future coordinates the object will have when it'll stop.
B
5
S
1
G
2
Posts: 22
Reputation: 1,824

Post » Sat May 11, 2013 2:35 pm

I'm sure you dont need to know the coordinates while the object is moving. Yonda said it right, you better try to handle this by events.

But if you still want a formula, have fun with it
http://en.wikipedia.org/wiki/Exponential_growth
B
7
S
1
G
1
Posts: 32
Reputation: 1,016


Return to How do I....?

Who is online

Users browsing this forum: gregorysforster, WhosWho and 15 guests