9#ifndef AVARA3D_PHYSICS_SHAPE_PRIMITIVE_CONEPHYSICSSHAPE_H
10#define AVARA3D_PHYSICS_SHAPE_PRIMITIVE_CONEPHYSICSSHAPE_H
12#include "a3d/physics/shape/PhysicsShape.h"
Cone 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 circular base radius.
ConePhysicsShape(float radius, float height)
Creates a cone collision shape with the supplied base radius and full height.
void type(Type type) override
Rejects attempts to change the fixed primitive shape type.
Type type() const override
Returns PhysicsShape::Type::Primitive.
Describes collision geometry used by one or more PhysicsBody objects.
Type
Collision-geometry representation requested for a PhysicsShape.