ConvexShape
EditTODO
Methods
Shape:containsPoint | Check if a point is inside the shape. |
Shape:destroy | Destroy the Shape. |
Shape:getAABB | Get the Shape's axis aligned bounding box. |
Shape:getCenterOfMass | Get the center of mass of the Shape. |
Shape:getCollider | Get the Collider the Shape is attached to. |
Shape:getDensity | Get the density of the Shape. |
Shape:getInertia | Get the inertia of the Shape. |
Shape:getMass | Get the mass of the Shape. |
Shape:getOffset | Get the local offset of the Shape. |
Shape:getOrientation | Get the orientation of the Shape. |
Shape:getPose | Get the pose of the Shape. |
Shape:getPosition | Get the position of the Shape. |
Shape:getType | Get the type of the Shape. |
Shape:getUserData | Get the Lua value associated with the Shape. |
Shape:getVolume | Get the volume of the Shape. |
Shape:isDestroyed | Check if the Shape is destroyed. |
Shape:raycast | Cast a ray against the shape. |
Shape:setDensity | Set the density of the Shape. |
Shape:setOffset | Set the local offset of the Shape. |
Shape:setUserData | Associate a Lua value with the Shape. |
ConvexShape:getFace | Get the point indices of one of the faces of the convex hull. |
ConvexShape:getFaceCount | Get the number of faces in the convex hull. |
ConvexShape:getPoint | Get one of the points in the convex hull. |
ConvexShape:getPointCount | Get the number of points in the convex hull. |
ConvexShape:getScale | Get the scale the ConvexShape was created with. |