Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collision filtering for ropes
#1
Hi, I am not able to undestand the documentation of collision filtering.

I'm trying to disable collision filtering between a rope and a particular collider on attachment (to avoid jitter)
Now I can do this via the editor by changing the "Collides with" property on my obi collider to exclude 0, that way it doesn't collided with anything that's in category 0.
How can i do this via code?

I see that in examples I can access a filter property, and that is being changed by int filter = ObiUtils.MakeFilter(ObiUtils.CollideWithEverything, 0), But i can't find any documentation or tooltips on how to use this to set up collision filtering via script. 
Please help. 

thanks
Reply


Messages In This Thread
Collision filtering for ropes - by linkinb - 10-10-2021, 07:24 AM
RE: Collision filtering for ropes - by josemendez - 10-10-2021, 11:06 AM
RE: Collision filtering for ropes - by linkinb - 10-10-2021, 12:12 PM
RE: Collision filtering for ropes - by josemendez - 11-10-2021, 08:57 AM
RE: Collision filtering for ropes - by linkinb - 11-10-2021, 02:23 PM