A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Bird » Mon Oct 22, 2012 6:19 pm
does the lighwave scene works if CCD if off, in lighwave
No. it doesn't.
Here's a simple scene.
http://www.hurleyworks.com/downloads/SimpleCCD.zipIn LW, the thin cylinder body falls right through the bottom of the static container mesh.
In Sandbox, the cylinder hits the bottom of the container and bounces up, just like it's supposed to.
In my createRigidBody() function I make this call. Is that all that's needed to turn on CCD?
- Code: Select all
// set continue collision mode on all dynamics bodies
if( pBody->bodyDesc.mass > 0.0 )
NewtonBodySetContinuousCollisionMode(body, 1);
-Bird
-
Bird
-
- Posts: 636
- Joined: Tue Nov 22, 2011 1:27 am
by Julio Jerez » Mon Oct 22, 2012 6:28 pm
Bird wrote:- Code: Select all
// set continue collision mode on all dynamics bodies
if( pBody->bodyDesc.mass > 0.0 )
NewtonBodySetContinuousCollisionMode(body, 1);
-Bird
yesy this is correct, that should work.
I will check the scane tonight
-
Julio Jerez
- Moderator

-
- Posts: 12426
- 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 1 guest