28-04-2021, 03:04 PM
(This post was last modified: 28-04-2021, 04:13 PM by josemendez.)
Hi!
First of all make sure the object is a rigidbody, and that it's being translated due to its own velocity (that you can modify by applying forces, impulses, accelerations, etc). If the object is moved by directly setting its transform position, there's nothing Obi (or other objects) can do to stop it, as you're forcing it to be in a certain position no matter what.
Once you're sure that's ok, you want to look into mass. The mass ratio between objects determines how they react to a collision: the heavier object will displace the lighter object.
In Obi you can set mass on a per-control point basis, using the path editor. See:
http://obi.virtualmethodstudio.com/tutor...setup.html
This bit makes no sense whatsoever. What do you mean by moving the object trough a rigidbody? The object either is a rigidbody or it isn't, not sure what you mean by that. Maybe you mean you’re using rigidbody.MovePosition()? In that case, see above: you can’t set the position directly if you want the rope to be able to react to it.
First of all make sure the object is a rigidbody, and that it's being translated due to its own velocity (that you can modify by applying forces, impulses, accelerations, etc). If the object is moved by directly setting its transform position, there's nothing Obi (or other objects) can do to stop it, as you're forcing it to be in a certain position no matter what.
Once you're sure that's ok, you want to look into mass. The mass ratio between objects determines how they react to a collision: the heavier object will displace the lighter object.
In Obi you can set mass on a per-control point basis, using the path editor. See:
http://obi.virtualmethodstudio.com/tutor...setup.html
Quote:Moving the object itself through the rigid body in a fixed update.
This bit makes no sense whatsoever. What do you mean by moving the object trough a rigidbody? The object either is a rigidbody or it isn't, not sure what you mean by that. Maybe you mean you’re using rigidbody.MovePosition()? In that case, see above: you can’t set the position directly if you want the rope to be able to react to it.