Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Generated rope with pin constraints
#4
I found an interesting thing and it's exactly the opposite of what I would expect.

When I set the offset parameter of batch.AddConstraint() to vector3.zero, it pins the rope to the center of the collider and the attached object is free to rotate.
Of course the physics goes bonkers because of the conflicting constraints, but if I change the phase, it hangs there and rotates around the local center freely.
Any other value of the offset I tried, within or outside of the block, prevents the rotation.
Reply


Messages In This Thread
Generated rope with pin constraints - by pQuex - 07-05-2020, 01:21 PM
RE: Generated rope with pin constraints - by pQuex - 07-05-2020, 09:24 PM