#### Archived

This topic is now archived and is closed to further replies.

# Jumping and mathmatical equation for an object dropping.

This topic is 5903 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

[removed] [Edited by - DevLiquidKnight on February 14, 2007 9:22:11 AM]

##### Share on other sites
Well, I hope you understand a little tiny bit about physics...

for objects dropping, just incorperate newtonian physics. Start with the known velocity of the object (which is a vector, should be zero if it is just dropped), and using gravity as the acceleration (-9.8 m/s), your equation would be:

relative_distance=initial_position+(initial_velocity*time) +
1/2*(acceleration*time^2)

Since you are dealing with individual frames in fractions of a second, you must adjust the time according to the elapsed time for each frame.

With an object jumping, just use the same equation, and set the initial velocity to whatever your choosing, to represent the power of the jump. Set the intial position to the surface level.

##### Share on other sites
Well, I hope you understand a little tiny bit about physics...

for objects dropping, just incorperate newtonian physics. Start with the known velocity of the object (which is a vector, should be zero if it is just dropped), and using gravity as the acceleration (-9.8 m/s), your equation would be:

relative_distance=initial_position+(initial_velocity*time) +
1/2*(acceleration*time^2)

Since you are dealing with individual frames in fractions of a second, you must adjust the time according to the elapsed time for each frame.

With an object jumping, just use the same equation, and set the initial velocity to whatever your choosing, to represent the power of the jump. Set the intial position to the surface level.

1. 1
2. 2
3. 3
4. 4
Rutin
12
5. 5

• 12
• 19
• 10
• 14
• 10
• ### Forum Statistics

• Total Topics
632665
• Total Posts
3007710
• ### Who's Online (See full list)

There are no registered users currently online

×