A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Marc » Sat Jul 07, 2012 9:47 pm
Julio Jerez wrote:Because it is a convex cast, it will find the first body along teh trajectory that his the casting shape.
Ah I meant with t the return value of the NewtonWorldRayFilterCallback because that's somehow the time traveled along the raycast. So I can't do an all body cast with convex cast as I can with the raycast because the convex cast only returns contacts for the first body.
-

Marc
-
- Posts: 281
- Joined: Sun Mar 14, 2004 4:07 pm
- Location: Germany
-
by Marc » Mon Jul 23, 2012 3:19 pm
Is there a way to get the type of contact from the result of a NewtonWorldConvexCast? With type I mean if the collision is with a face, edge or point.
-

Marc
-
- Posts: 281
- Joined: Sun Mar 14, 2004 4:07 pm
- Location: Germany
-
by Julio Jerez » Mon Jul 23, 2012 3:44 pm
that will be complicated because not all collision are made from polygonal shapes.
In fact most convex shapes come from the equation of a conic shape.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Marc » Mon Jul 23, 2012 3:53 pm
Hmm I see.
Is it tunneling safe? In the sense that when the start and destination position are very far apart and inbetween is something, will it hit it or are only start and destination position considered?
-

Marc
-
- Posts: 281
- Joined: Sun Mar 14, 2004 4:07 pm
- Location: Germany
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 0 guests