14-06-2021, 07:34 AM
(12-06-2021, 03:05 PM)wakin001 Wrote: Thanks for your reply.
pin constraint works exactly as what I need.
But, after the gameobjet is attached to the rope, the rope is moving slightly.
The attached gameobject is rigidbody.
Before attaching, the rope is static perfectly.
How do I make the rope be in static after attaching rigidbody objects?
As long as you've passed the correct offset to the pin constraint, the rope should not move at all.
You should use the current particle position expressed in the rigidbody's local space.
Can you share the code you used?