Hey, I want to use the hinge object to simulate a Ball that is following the cursor and won’t collide with any other phys.body objects in the phys.world.
Synching the phys.ghost to the phys.body object is not a problem, but the phys.body attached to the hinge can still collide and affect other phys.bodies in the world.
Is there any way to make the phys.body "invisible" for other phys.bodies while still being able to get it’s position data on the hinge and synch the phys.ghost object to it?
Check out the filters/filterclass attribute of jit.phys.body. There is an example in jitter-examples/jitter/render/physics folder, phys.body.filters.maxpat
thanks ben, wasn’t aware of all the phys.examples really helpfull!
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74