9#ifndef AVARA3D_PHYSICS_SHAPE_PRIMITIVE_BOXPHYSICSSHAPE_H
10#define AVARA3D_PHYSICS_SHAPE_PRIMITIVE_BOXPHYSICSSHAPE_H
12#include "a3d/physics/shape/PhysicsShape.h"
Box collision shape centered at the local origin, with width along X, height along Y,...
Type type() const override
Returns PhysicsShape::Type::Primitive.
float length() const
Returns the configured full length along Z.
float width() const
Returns the configured full width along X.
BoxPhysicsShape(float width, float height, float length)
Creates a box collision shape with the supplied full dimensions.
float height() const
Returns the configured full height along Y.
void type(Type type) override
Rejects attempts to change the fixed primitive shape type.
Describes collision geometry used by one or more PhysicsBody objects.
Type
Collision-geometry representation requested for a PhysicsShape.