A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by chankahou » Thu Apr 14, 2011 1:04 am
is there any function about added gravity directly
because in "NewtonBodySetForceAndTorqueCallback" callback function
i always use "NewtonBodyAddForce" to apply the gravity: mass*-9.8
so i want some function can by included in this library like:
NewtonbodyAddAcceleration(body, gravity);
thank for the good physics engine~
-
chankahou
-
by JernejL » Thu Apr 14, 2011 3:11 am
Acceleration is a result of adding force.
Adding that would mean supporting pure lazyness. It's no different to if you made this function yourself.
-

JernejL
-
- Posts: 1587
- Joined: Mon Dec 06, 2004 2:00 pm
- Location: Slovenia
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 1 guest