Jump to content

Physics Units of Measurement


SpiderPig
 Share

Go to solution Solved by martyj,

Recommended Posts

I just want to verify the way the physics commands should work.  I'm assuming that Newton Game Dynamics uses real world equations to calculate the final force and velocity of objects.  So if that's the case, what are the units of measurements that should be passed to each of the physics commands?

If I set an entities mass to 100.0f, and say this is 100 kg, what should input into into "AddForce()"?  m/s² or Newtons?

It would make sense to be newtons because that's the measurement of force.

And also "SetFriction()".  Is this the friction coefficient or the force in newtons that has to be over come?

 

Physics are not behaving the way I think they should in my game and I just want to make sure I'm feeding the commands the right values.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...