Misunderstanding with Force

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
kaydash
Posts: 2
Joined: Thu Apr 23, 2009 6:04 pm

Misunderstanding with Force

Post by kaydash »

Please help me with some physic details.
I've created a cube with mass = 1 (probably 1kg)
Also I set the gravity in settings in 9.81 (m/s2) as in examples.
Then I tryed to calculate the force.
It should be mass*gravity = 1*9.81 = 9.81(Newton).
But I get only 0.1667 in the Force property of that entity.
I feel little confused.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Misunderstanding with Force

Post by Norbo »

After one frame, only one timestep has elapsed. The default duration of a timestep is 1/60 seconds (.01666..). The force property is a bit of a misnomer at the moment as it shows the momentum change of the last frame, which is the timestep times the total force applied, or 9.81/60 = .1635. I'll clarify this in the next version.
kaydash
Posts: 2
Joined: Thu Apr 23, 2009 6:04 pm

Re: Misunderstanding with Force

Post by kaydash »

Thanks a lot!
Post Reply