Posted November 17, 2023 by kindeyegames
Initial 3DObject integration - also requires latest version of 3DObject (2-56-0+).
Use shape property to specify shape.
Size is set by first animation/pose bounding box.
Auto sets a box shape.
Box sets a box shape.
Sphere set a sphere shape w/ radius width/2
Cylinder set a 12 segment cylinder shape with height y and radius x/2.
In the future I will create a way to override the settings.
The initial angle will be a default set by the physics body. In the future will look at ways to set the initial angle based on the 3DObject initial angle.
To center the 3DObject center w/ the physics object center, use the Set Local Center ACE. The units are in the _original_ model units, _not_ the scaled units from the scale properties. Some models will not require this (e.g. the soccer all already has a center of 0), others do (the cleric model center is at the bottom of the feet.)