Defining world gravity?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Defining world gravity?

Postby Jedive » Tue Feb 17, 2009 1:37 pm

I'm just starting to play with Newton 2.0 beta, and I have a problem. I haven't found a function to set the world gravity, which is something really easy to do in other physics engines I've played with. Looking on the forums for this problem gave me tons of unrelated threads, so sorry if this has been asked before.
== Jedive ==
Jedive
 
Posts: 3
Joined: Tue May 11, 2004 9:21 am

Re: Defining world gravity?

Postby Julio Jerez » Tue Feb 17, 2009 1:53 pm

there is not world gravity in newton you need to implemnet the force and torque call back and apply the force of gravity there.
see the demos code.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 13 guests

cron