Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IK behavior?
#3
(01-04-2023, 01:33 PM)josemendez Wrote: Hi!

This should be the behavior by default: ropes have a specific rest length, once stretched past that length they will apply forces to whatever they're attached to as long as:

- The object they're attached to can receive forces, that is, has a rigidbody component.
- The attachment type is dynamic. See: http://obi.virtualmethodstudio.com/manua...ments.html

Some of the included sample scenes exhibit this behavior: see "Crane" or "GrapplingHook" for example. Let me know if you need further help,

kind regards

I think it's more inline with this post here. Basically it's the same issue but instead of mouse interaction, it's in first person. The problem with Rigidbody.AddForce is that the object will never remain still because it'll bounce back and forth to the target position when grabbed.

Changing the velocity directly allows me to have a better control of this rigidbody. I have implemented my own tension system for these interactable objects so it'll stop any grabs when max tension is reached. But I'm wondering if ropes can set a max distance like how IK doesn't stretch the arms beyond its limits.

Thanks!
Reply


Messages In This Thread
IK behavior? - by mikecochang - 31-03-2023, 09:19 PM
RE: IK behavior? - by josemendez - 01-04-2023, 01:33 PM
RE: IK behavior? - by mikecochang - 06-04-2023, 05:31 PM
RE: IK behavior? - by josemendez - 07-04-2023, 09:41 AM
RE: IK behavior? - by mikecochang - 07-04-2023, 05:22 PM