Skip to content
lsl.devlsl.devLSL Dev

PhysicsShapeType

Constants in the PhysicsShapeType enum.

All constant groups

At a glance, from the LSL definitions
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

ConstantTypeValueDescription
PRIM_PHYSICS_SHAPE_CONVEXinteger2Physics shape type setting. Uses the convex hull of the prim shape to generate its physics representation (the default for mesh objects).
PRIM_PHYSICS_SHAPE_NONEinteger1Physics 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_PRIMinteger0Physics shape type setting. Uses the actual visible shape of the prim to determine its physics representation (the default for all non-mesh objects).