Forums > Jitter

turning off collisions in jit.phys.multiple

June 12, 2013 | 1:02 am

is there any way to turn off the collision detection among objects in jit.phys.multiple, so that they would potentially pass through each other? i’d still like them to be responsive to gravity, if possible..

-ht


June 12, 2013 | 9:45 am

sure, you have to change the default value of the phys.multiple @filters attribute.
this attribute takes a list of @filterclass values, as well as some builtin options.

the default value is "all", which tells each instance to collide with everything.
by changing that to something like @filters worldbox, you tell the instances to only collide with the worldbox.


June 12, 2013 | 10:00 am

amazing! thanks!


Viewing 3 posts - 1 through 3 (of 3 total)