[SOLVED] Custom Shapes

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

[SOLVED] Custom Shapes

Postby hach-que » Wed Jan 21, 2009 5:45 pm

I've tried using tree collisions, but apparently they can only be static. How can I create dynamic custom shapes (like the irregular shapes in the demo)?
Last edited by hach-que on Sat Jan 24, 2009 4:14 am, edited 1 time in total.
User avatar
hach-que
 
Posts: 27
Joined: Fri Jun 13, 2008 2:11 am

Re: Custom Shapes

Postby Julio Jerez » Wed Jan 21, 2009 5:57 pm

you can not, newton is not that powerful
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Custom Shapes

Postby hach-que » Wed Jan 21, 2009 7:15 pm

Maybe you misread the question. I just need to create irregular shapes like in the demo (so I can create meshes). I don't need to modify the collisions later.
User avatar
hach-que
 
Posts: 27
Joined: Fri Jun 13, 2008 2:11 am

Re: Custom Shapes

Postby Julio Jerez » Wed Jan 21, 2009 7:39 pm

the only way you can so irregular shape is by using compound collision of convex pieces.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Custom Shapes

Postby agi_shi » Wed Jan 21, 2009 7:51 pm

Yes: NewtonCreateCompoundCollision()

Also, technically, Newton's tree collisions (and other static bodies) can indeed move and push around other objects. It's just that other objects can't push it. Read more here: http://www.newtondynamics.com/wiki/inde ... TriMesh%3F
agi_shi
 
Posts: 263
Joined: Fri Aug 17, 2007 6:54 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 13 guests