newton.sim.ShapeGeometry#

newton.sim.ShapeGeometry = <warp.codegen.Struct object>[source]#

Represents the geometry of a shape. type: The type of geometry (GEO_SPHERE, GEO_BOX, etc.) is_solid: Indicates whether the shape is solid or hollow thickness: The thickness of the shape (used for collision detection, and inertia computation of hollow shapes) source: Pointer to the source geometry (can be a mesh or SDF index, zero otherwise) scale: The 3D scale of the shape filter: The filter group of the shape transform: The transform of the shape in world space