Question about NewtonCollisionUpdate

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Question about NewtonCollisionUpdate

Postby aqnuep » Fri Nov 27, 2009 2:22 pm

Hi,

I wonder if this function is for updating just collisions when Newton is used as a standalone collision library. Is this true?

If it's true then in case of Newton is used only for collision actually the application moves the objects and then NewtonCollisionUpdate has to be called in order to generate the contacts?
aqnuep
 
Posts: 97
Joined: Sat Dec 22, 2007 4:14 pm

Re: Question about NewtonCollisionUpdate

Postby JernejL » Fri Nov 27, 2009 3:00 pm

It is ONLY used when newton is used as standalone collision library, it is not needed if you use newton for both collision detection and simulation with ordinary newtonupdate, in that case newton will do it internally and generate contacts for contact callbacks..
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Question about NewtonCollisionUpdate

Postby aqnuep » Fri Nov 27, 2009 3:31 pm

Yes, that's exactly what I suspected. Thanks for the info, I'll update the Wiki.
aqnuep
 
Posts: 97
Joined: Sat Dec 22, 2007 4:14 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron