How to constrain soft body rotation and position - 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: How to constrain soft body rotation and position (/thread-2880.html) |
How to constrain soft body rotation and position - CumaliSAH1N - 21-04-2021 If it's possible how can I constrain soft body - Y rotation - Z position there is this thread about the position constrain, but the solution given there didn't work for me. Thanks in advance. RE: How to constrain soft body rotation and position - josemendez - 22-04-2021 (21-04-2021, 12:39 PM)CumaliSAH1N Wrote: If it's possible how can I constrain soft body Hi there, You just set the particle's position in the z axis to zero, or to any fixed value you want. For rotation it's similar, you just project the particle's rotation quaternion to the desired axis. You can do this using the particle API: http://obi.virtualmethodstudio.com/tutorials/scriptingparticles.html Can you provide more details regarding what you have tried so far, and why it didn't work for you? RE: How to constrain soft body rotation and position - CumaliSAH1N - 22-04-2021 (22-04-2021, 07:54 AM)josemendez Wrote: Hi there, Hi thanks for the answer, Basically what I want to do is, move the softbody around in orthographic mode. I tried simulating softbody with a box, and skinning the actual model to it. it didn’t work for me because, i have objects that softbody can interact with (obstacles etc.) when softbody hits one of those objects it starts rotating. I just tried blocking the softbody by surrounding it with colliders, it seems to be working. I will try your suggestions as well thanks again. |