NewtonMaterialSetCollisionCallback on v2.x

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

NewtonMaterialSetCollisionCallback on v2.x

Postby Van » Thu Nov 19, 2009 3:16 pm

Implementing 2.x from 1.5x and reviewing NewtonMaterialSetCollisionCallback().

In 1.53, there were three basic callbacks, start, process, end. In the 2.x there doesn't appear to be a callback that says "collision over"?
Stop Global Whining.
Van
 
Posts: 17
Joined: Mon Nov 08, 2004 12:36 am

Re: NewtonMaterialSetCollisionCallback on v2.x

Postby Julio Jerez » Thu Nov 19, 2009 3:53 pm

Not there is not colllsion end because is 2.0 you get all of the contact in one call,
so you can iterate over contact and do the finalization before leaving the function callback.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: NewtonMaterialSetCollisionCallback on v2.x

Postby JernejL » Thu Nov 19, 2009 3:58 pm

See this topic, it is all answered there: viewtopic.php?f=10&t=5497&p=39484&#p39481
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: NewtonMaterialSetCollisionCallback on v2.x

Postby Van » Thu Nov 19, 2009 4:31 pm

Thank you. We really need to get that info into the Wiki.
Stop Global Whining.
Van
 
Posts: 17
Joined: Mon Nov 08, 2004 12:36 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron