02-08-2023, 06:40 AM
(This post was last modified: 02-08-2023, 06:46 AM by josemendez.)
(01-08-2023, 04:57 PM)Renman3000 Wrote: Hi, Of course, I mean in relation to Obi technologies. That said, 1000 apologies if I was unclear. What I would like is the ability to scan how I can access similar functions in Obi, that relate to Unity Physics.
for example, Velocity or Drag..... Is there a page dedicated to this?
Thank you
Hi!
In general, softbodies have no equivalent rigidbody properties because they're fundamentally very different things.
A rigidbody has uniform density, with a single mass value concentrated on a single point (its center of mass), and single linear/angular velocity values (these of its center of mass). As a result, rigidbodies can't deform.
Softbodies however are composed of multiple independent bits. This is called discretizing a softbody and in Obi's case, this discretization is carried out using particles. Each particle in a softbody has its own mass, its own velocity, etc. allowing softbodies to have varying properties across their volume and deform as a result. For this reason, there's no single linear velocity/angular velocity/inertia tensor/mass value in a softbody.
Softbody particle properties are accessed in a very different way to a rigidbody's properties, you can see a complete list of all per-particle properties and how to access them here.
kind regards,