Skip to content
lsl.devlsl.devLSL Dev

PRIM_PHYSICS_SHAPE_TYPE

constant
Constant
integer PRIM_PHYSICS_SHAPE_TYPE = 30;

Prim parameter used to get or set the type of shape the physics engine uses for the prim (PRIM_PHYSICS_SHAPE_NONE, _PRIM, or _CONVEX). Mainly used for physics optimization.

Constant groups

PrimParam · PrimParamGet

Other PrimParam values (42)
Other PrimParamGet values (40)

Used to set the type of shape the physics engine should use for the prim. This is primarily used to do Physics Optimization.

Modern physics engines achieve real-time results (as opposed to slower than real-time results) by approximating and simplifying the shapes. This means the shape that client displays on the screen is much more complicated than the shape the physics engine works with (with the exception of basic shapes like cubes or prisms). This flag gives the scripter some control over how the prim is treated by the physics engine.

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.