22-04-2021, 11:42 AM
(This post was last modified: 22-04-2021, 11:42 AM by josemendez.)
(22-04-2021, 11:28 AM)Caduceus Wrote: May be my question is stupid, sorry.
I have a rope with one fixed end. And other end of rope attached to draggable object. And the behaviour of rope - like a rubber - it increase length without limits.
Is it possible to say to rope don't changing length, even I moving attahcment object?
There's two types of attachments in Obi: static and dynamic.
Static attachments will force the attached point to follow the object it is attached to, wherever it goes. The rope will stretch as needed to stay attached.
Dynamic attachments allow the rope to apply a force back to the object it is attached to, resisting movement. In physics this is known as two-way coupling: the rope reacts to the object, and the object reacts to the rope. The object needs to be a rigidbody though (as it needs to be able to react to the force applied by the rope). You can see examples of this in the Crane, FrightLift and WrapTheRope sample scenes.
See: http://obi.virtualmethodstudio.com/tutor...ments.html