Yesterday, 01:57 PM
(This post was last modified: Yesterday, 01:59 PM by josemendez.)
Hi!
There's nothing attached to your post, so I only have the script you shared to go by.
Only thing that looks weird right away is the ObiUtils.MakeFilter(-1, 0) part at the end of the loop. A mask of "-1" doesn't make any sense, masks can range from 0 to 65536 (0x0000ffff). Either use a properly formed bit mask or one of the predefined values, eg. ObiUtils.CollideWithEverything/CollideWithNothing. Most likely, you want to set a value so that the rope doesn't collide against the ObiColliders you're using as control points.
Would it be possible for you to share your solver/rope settings, as well as a video/screenshot of the behavior you're describing?
kind regards,
There's nothing attached to your post, so I only have the script you shared to go by.
Only thing that looks weird right away is the ObiUtils.MakeFilter(-1, 0) part at the end of the loop. A mask of "-1" doesn't make any sense, masks can range from 0 to 65536 (0x0000ffff). Either use a properly formed bit mask or one of the predefined values, eg. ObiUtils.CollideWithEverything/CollideWithNothing. Most likely, you want to set a value so that the rope doesn't collide against the ObiColliders you're using as control points.
Would it be possible for you to share your solver/rope settings, as well as a video/screenshot of the behavior you're describing?
kind regards,