A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Xaymar » Sun Jul 11, 2010 7:07 am
According to the Wiki NewtonCollisions get deleted when theres no Body referring to them anymore. Is this really true? Because thats a bit meh :/
-
Xaymar
-
- Posts: 8
- Joined: Sat Jul 10, 2010 7:49 pm
by JernejL » Sun Jul 11, 2010 7:13 am
That's why you add a reference so they don't get deleted..
see: NewtonAddCollisionReference
-

JernejL
-
- Posts: 1587
- Joined: Mon Dec 06, 2004 2:00 pm
- Location: Slovenia
-
by Xaymar » Sun Jul 11, 2010 7:18 am
I didnt see that function(its not included it the api database). Thanks for the help
Edit: Database, i ment Database
Last edited by
Xaymar on Sun Jul 11, 2010 9:40 am, edited 1 time in total.
-
Xaymar
-
- Posts: 8
- Joined: Sat Jul 10, 2010 7:49 pm
by Julio Jerez » Sun Jul 11, 2010 9:15 am
int NewtonAddCollisionReference (const NewtonCollision* collision);
void NewtonCollisionGetInfo (const NewtonCollision* collision, NewtonCollisionInfoRecord* collisionInfo);
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by JernejL » Sun Jul 11, 2010 9:16 am
It is included in every demo, and in the api reference on wiki..
-

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 0 guests