I am currently investigating physics engines for my game and am pretty sure I will use JBox2d (although there is only about 2 tutorials for it, i'm sure the C++ tutorials are transferable skills). I have created the world, set up normal earth gravity and created a ball. However my problem is my ball is falling to the bottom of the world in under 1/2 a second. Why is it doing this? My world is from 300 to -300 and the ball is placed at 200(these are all y co-ords as the ball is currently not moving on the x axis). I have not changed any of the mass properties of the ball and it is just getting its mass from the shapes. My timestep is 1 (manually set) and my FPS is currently around 400.
2 replies to this topic
#1
Posted 19 April 2011 - 02:16 AM
|
|
|
#2
Posted 19 April 2011 - 06:02 PM
I've never used JBox2D but fast falling could be due to gravity.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









