06-10-2021, 11:14 AM
(This post was last modified: 06-10-2021, 11:14 AM by josemendez.)
(06-10-2021, 10:48 AM)uv_unity Wrote:Hi, how can I clamp softbody positions on a single axis X or Z. Clamping transforms in Update is not working.
Obi is a particle-based physics engine. Each softbody is composed of many particles, each one with its own position/rotation/size. Clamping the transform isn't going to have any affect on them.
Take a look at the particle API: you can restrict particle positions/velocities to lie on a single axis, plane, or any other custom constraint you need:
http://obi.virtualmethodstudio.com/manua...icles.html