Does a convex hull modifier work on a cylinder collision?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Does a convex hull modifier work on a cylinder collision?

Postby Leadwerks » Sun Jan 31, 2010 2:12 am

Does the Newton convex hull modifier work with a cylinder collision shape?
User avatar
Leadwerks
 
Posts: 569
Joined: Fri Oct 27, 2006 2:54 pm

Re: Does a convex hull modifier work on a cylinder collision?

Postby JernejL » Sun Jan 31, 2010 10:02 am

AFAIK Only convex hulls, but you can build a convex hull shaped like a cylinder.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Does a convex hull modifier work on a cylinder collision?

Postby Julio Jerez » Sun Jan 31, 2010 11:28 am

yes convex hull modiers works on cylinder. they work on all convex shapes (spheres, cylinder, boxes, cones etc)
Julio Jerez
Moderator
Moderator
 
Posts: 12452
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Does a convex hull modifier work on a cylinder collision?

Postby JernejL » Sun Jan 31, 2010 1:02 pm

Julio Jerez wrote:yes convex hull modiers works on cylinder. they work on all convex shapes (spheres, cylinder, boxes, cones etc)


That's new info to me, why did it say everywhere it only works on convex hulls? O_O
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Does a convex hull modifier work on a cylinder collision?

Postby Julio Jerez » Sun Jan 31, 2010 1:45 pm

Because I keep calling convex hull to all other convex collision shapes.

the reason is that cylinders, spheres, cubes, ect are special case of convex hulls is because the collision can be calculation from a close from formulee.
bacuse of that they provide arbitratlly smooth behaviuor that can not be achived if we making convex hull by decretizing them into polygons, other than that they are continuestlly smooth convex hulls.
Julio Jerez
Moderator
Moderator
 
Posts: 12452
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Does a convex hull modifier work on a cylinder collision?

Postby Leadwerks » Sun Jan 31, 2010 11:46 pm

Does it work on compound convex hull shapes? Everything except a collision tree?
User avatar
Leadwerks
 
Posts: 569
Joined: Fri Oct 27, 2006 2:54 pm

Re: Does a convex hull modifier work on a cylinder collision?

Postby Dave Gravel » Mon Feb 01, 2010 2:30 am

Last time I have test here, yes it working good and normally.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 808
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 411 guests

cron