9#ifndef AVARA3D_PHYSICS_SHAPE_PRIMITIVE_FINITEPLANEPHYSICSSHAPE_H
10#define AVARA3D_PHYSICS_SHAPE_PRIMITIVE_FINITEPLANEPHYSICSSHAPE_H
12#include "a3d/physics/shape/PhysicsShape.h"
Finite rectangular collision plane centered at the local origin in the XY plane.
Type type() const override
Returns PhysicsShape::Type::Primitive.
void type(Type type) override
Rejects attempts to change the fixed primitive shape type.
float width() const
Returns the configured full width along X.
float height() const
Returns the configured full height along Y.
FinitePlanePhysicsShape(float width, float height)
Creates a finite collision plane with full width along X and full height along Y.
Describes collision geometry used by one or more PhysicsBody objects.
Type
Collision-geometry representation requested for a PhysicsShape.