Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  How can I make my ropes not float upwards?
#2
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,
Reply


Messages In This Thread
RE: How can I make my ropes not float upwards? - by josemendez - Yesterday, 01:57 PM