Obi Official Forum
Addforce to rigidbody - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html)
+--- Thread: Addforce to rigidbody (/thread-1401.html)



Addforce to rigidbody - Kostik3000 - 29-09-2019

Hi,

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

Thanks!


RE: Addforce to rigidbody - josemendez - 29-09-2019

(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).