PhysicsShapeType
Constants in the PhysicsShapeType enum.
integer PRIM_PHYSICS_SHAPE_CONVEX = 2; // Physics shape type setting.integer PRIM_PHYSICS_SHAPE_NONE = 1; // Physics shape type setting.integer PRIM_PHYSICS_SHAPE_PRIM = 0; // Physics shape type setting.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
PRIM_PHYSICS_SHAPE_CONVEX | integer | 2 | Physics shape type setting. Uses the convex hull of the prim shape to generate its physics representation (the default for mesh objects). |
PRIM_PHYSICS_SHAPE_NONE | integer | 1 | Physics shape type setting. Directs the physics engine to ignore this prim entirely, preventing it from contributing to the linkset's physics shape. Note: Cannot be applied to the root prim. |
PRIM_PHYSICS_SHAPE_PRIM | integer | 0 | Physics shape type setting. Uses the actual visible shape of the prim to determine its physics representation (the default for all non-mesh objects). |