Collision between groups

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Collision between groups

Postby jay3d » Sat Dec 20, 2008 11:01 am

I have a question :)

I have two groups of bodies,

Group1 : 100 boxes
Group2 : A ground plane object

I want Group1 to collide with Group2, but not detecting the collision between the group's own items (Group1)

Thanks!
jay3d
 
Posts: 33
Joined: Sun Jul 13, 2008 11:51 am

Re: Collision between groups

Postby Julio Jerez » Sat Dec 20, 2008 11:27 am

you make two materials

groupo1_material
group12_material

then you set groupo1_material/groupo1_material collision disable
then you set groupo2_material/groupo2_material collision disable

the you assign to the bodies teh material groupid as you make then
and that's all you need to do
you can also change teh bopdy grop id at will
this is teh way newti deal with what some peopel call spaces, and layer, or wtha ever, material is a genrlalization of that.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
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 15 guests