Disable collision detection

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Disable collision detection

Postby Caleb Cannon » Thu Oct 16, 2008 2:57 pm

How can I disable collision detection between objects? I've tried setting the mass to 0 and infinity - this disables the integrator but other objects still collide with it. I've also tried creating a collision processor callback and using NewtonJointSetCollisionState(contactJoint, 0). This doesn't work either.

On another note, when I set the mass of an object to 0 and a collision does occur there is a large increase in the energy of the non-static object.

Also, the collision objects I'm using are modified convex hulls....
Caleb Cannon
 
Posts: 3
Joined: Sat Sep 27, 2008 4:28 pm

Re: Disable collision detection

Postby JernejL » Thu Oct 16, 2008 3:51 pm

set up non colliding materials or discard aabb overlapping in material callback.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1578
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 16 guests

cron