Why bodies slows down when no force is applyied? [PHYSICS]

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Why bodies slows down when no force is applyied? [PHYSICS]

Postby Auradrummer » Sun Nov 29, 2009 10:32 am

Hello guys,

In the vacuum, with no forces actuating in a object, if I apply a force on a body, it will keep moving, at constant velocity, even if I get out this force, right? But, in NGD, this doesn't happens, the object slows down till stops, like in real life. What is that opposing force that engine applies? How can I calculate it?
Developing a racing game.
Auradrummer
 
Posts: 132
Joined: Sat May 17, 2008 9:17 am

Re: Why bodies slows down when no force is applyied? [PHYSICS]

Postby Julio Jerez » Sun Nov 29, 2009 10:57 am

It is the drag coeficeint, if you do not want it, you can set drag to zero when you create the body.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Why bodies slows down when no force is applyied? [PHYSICS]

Postby JernejL » Sun Nov 29, 2009 12:10 pm

See: NewtonBodySetLinearDamping & NewtonBodySetAngularDamping
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Why bodies slows down when no force is applyied? [PHYSICS]

Postby Auradrummer » Tue Dec 01, 2009 9:52 am

Aha! Fantastic. Now my calculus looks better!
Developing a racing game.
Auradrummer
 
Posts: 132
Joined: Sat May 17, 2008 9:17 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron