Expand description
Shapes supported by parry.
Structs§
- Axis
Mask - The status of the cell of an heightfield.
- Ball
- A ball shape, also known as a sphere in 3D or a circle in 2D.
- Capsule
- A capsule shape, also known as a pill or capped cylinder.
- Composite
Shape Ref - A helper struct that implements scene queries on any composite shapes.
- Compound
- A compound shape with an aabb bounding volume.
- Convex
Polygon - A 2D convex polygon.
- Cuboid
- A cuboid shape, also known as a box or rectangle.
- Half
Space - A half-space delimited by an infinite plane.
- Height
Field - A 2D heightfield with a generic storage buffer for its heights.
- Octant
Pattern - Indicates the local shape of a voxel on each octant.
- Packed
Feature Id - A memory-efficient feature ID where the type and index are packed into a single
u32. - Polygonal
Feature - A polygonal feature representing the local polygonal approximation of a vertex, or face, of a convex shape.
- Polyline
- A polyline shape formed by connected line segments.
- Round
Shape - A shape with rounded borders.
- Segment
- A line segment shape.
- Shared
Shape - A reference-counted, shareable geometric shape.
- Topo
Face - A face of a triangle-mesh’s half-edge topology.
- Topo
Half Edge - A half-edge of a triangle-mesh’s half-edge topology.
- Topo
Vertex - A vertex of a triangle-mesh’s half-edge topology.
- TriMesh
- A triangle mesh.
- TriMesh
Connected Components - The connected-components of a triangle mesh.
- TriMesh
Flags - Controls how a
TriMeshshould be loaded. - TriMesh
Topology - The half-edge topology information of a triangle mesh.
- Triangle
- A triangle shape defined by three vertices.
- Triangle
Pseudo Normals - The pseudo-normals of a triangle providing approximations of its feature’s normal cones.
- Voxel
Data - Information associated to a voxel.
- Voxel
State - A description of the local neighborhood of a voxel.
- Voxels
- A shape made of axis-aligned, uniformly sized cubes (aka. voxels).
- Voxels
Chunk Ref - A reference to a chunk of voxels within a
Voxelsshape.
Enums§
- Feature
Id - An identifier of a geometric feature (vertex, edge, or face) of a shape.
- Segment
Point Location - Describes where a point is located on a segment.
- Shape
Type - Enum representing the type of a shape.
- Topology
Error - Errors that occur when computing or validating triangle mesh topology.
- TriMesh
Builder Error - Errors that occur when creating a triangle mesh.
- Triangle
Orientation - Orientation of a triangle.
- Triangle
Point Location - Description of the location of a point on a triangle.
- Typed
Shape - Enum representing the shape with its actual type
- Voxel
Type - Categorization of a voxel based on its neighbors.
Traits§
- Composite
Shape - Trait implemented by shapes composed of multiple simpler shapes.
- Polygonal
Feature Map - Trait implemented by convex shapes with features with polyhedral approximations.
- Shape
- Trait implemented by shapes usable by Rapier.
- Support
Map - Trait for convex shapes representable by a support mapping function.
- Typed
Composite Shape
Type Aliases§
- Height
Field Cell Status - Indicates if a cell of a heightfield is removed or not. Set this to
falsefor a removed cell. - Round
Convex Polygon - A convex polygon dilated by a sphere (so it has round corners).
- Round
Cuboid - A cuboid dilated by a sphere (so it has round corners).
- Round
Triangle - A triangle dilated by a sphere (so it has round corners).