Obi Official Forum

Full Version: Addforce to rigidbody
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

is there a possibility to add a force to a obiSoftbody-Gameobject with a rigidbody on it?

Thanks!
(29-09-2019, 01:26 PM)Kostik3000 Wrote: [ -> ]Hi,

is there a possibility to add a force to a obiSoftbody-Gameobject with a rigidbody on it?

Thanks!

Why'd you want to do that? an object can be either a rigid body, or a soft body. It does not make much sense to have a softbody with a rigidbody on it. That said, you can attach a softbody to a rigidbodyvia pin constraints, then use AddForce() on either the rigidbody or the softbody (or both).