Implementing collision detection

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Implementing collision detection

Postby RemSpam » Wed Feb 08, 2012 11:03 am

In my app I want to implement a simple collision detection without physics. That means that I have a scene consisting of meshes. And I want to move meshes into different positions (using mouse) avoiding inter penetration of objects and allowing sliding of objects.

Is it possible to implement such algorithm using Newton with non-convex meshes? If so, what is the best strategy to implement this?
RemSpam
 
Posts: 4
Joined: Mon Jan 28, 2008 2:43 am

Re: Implementing collision detection

Postby jiandingzhe » Mon Feb 27, 2012 9:07 pm

You can use the collision system alone.
Non-convex shapes requires much more complicated math tricks. You may create non-convex shapes using a combination of several convex shapes. Newton supports that.
User avatar
jiandingzhe
 
Posts: 48
Joined: Fri Jul 08, 2011 11:21 am
Location: Beijing


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron