+0  
 
0
781
1
avatar+105 

do you guys also help with physics questions here? like..

Suppose you are making a 2D game like Joust with platforms at various heights.

One platform is 8 meters above the ground.

If the player (on his ostrich) runs off the ledge at 10m/s without jumping, how far away from the edge will he land on the ground?

 Jun 25, 2014

Best Answer 

 #1
avatar+576 
+13

In kinematics there is a formula to describe this

d=v_i+(1/2)at^2    where distance is in meters, v_i is initial velocity, a is acceleration, and t is time in seconds.

for your problem we are going to focus on the vertical direction and first answer how long it takes the player to fall 8 meters. 

8=0+(1/2) (9.8)t^2     V_i is p because the ostrich is not falling the moment it leaves the platform, and A is 9.8 because it is a gravitiational constant.

 

16=9.8t^2

t=sqrt(16/9.8)=1.28 seconds    This is the time the ostrich and player are in freefall before hitting the ground.

Assuming you are not programming air resistance and drag into your game the ostrich moving at 10m/s will travel 10 m/s  *  1.28 s =12.8 Meters horizonally.

 

As a side note, the ostrich will likely have broken legs after such a fall!

 Jun 25, 2014
 #1
avatar+576 
+13
Best Answer

In kinematics there is a formula to describe this

d=v_i+(1/2)at^2    where distance is in meters, v_i is initial velocity, a is acceleration, and t is time in seconds.

for your problem we are going to focus on the vertical direction and first answer how long it takes the player to fall 8 meters. 

8=0+(1/2) (9.8)t^2     V_i is p because the ostrich is not falling the moment it leaves the platform, and A is 9.8 because it is a gravitiational constant.

 

16=9.8t^2

t=sqrt(16/9.8)=1.28 seconds    This is the time the ostrich and player are in freefall before hitting the ground.

Assuming you are not programming air resistance and drag into your game the ostrich moving at 10m/s will travel 10 m/s  *  1.28 s =12.8 Meters horizonally.

 

As a side note, the ostrich will likely have broken legs after such a fall!

jboy314 Jun 25, 2014

5 Online Users

avatar
avatar
avatar