9#ifndef AVARA3D_PHYSICS_SHAPE_PRIMITIVE_CYLINDERPHYSICSSHAPE_H
10#define AVARA3D_PHYSICS_SHAPE_PRIMITIVE_CYLINDERPHYSICSSHAPE_H
12#include "a3d/physics/shape/PhysicsShape.h"
Cylinder collision shape centered at the local origin and aligned along Y.
float height() const
Returns the configured full height along Y.
float radius() const
Returns the configured cylinder radius.
void type(Type type) override
Rejects attempts to change the fixed primitive shape type.
Type type() const override
Returns PhysicsShape::Type::Primitive.
CylinderPhysicsShape(float radius, float height)
Creates a cylinder collision shape with the supplied radius and full height.
Describes collision geometry used by one or more PhysicsBody objects.
Type
Collision-geometry representation requested for a PhysicsShape.