Avara3D 0.2.0
C++ API reference
InfinitePlanePhysicsShape.h
1//
2// InfinitePlanePhysicsShape.h
3// avara3d
4//
5// Created by Morgan Davis on 8/8/26.
6// Copyright © 2026 Morgan K Davis. All rights reserved.
7//
8
9#ifndef AVARA3D_PHYSICS_SHAPE_PRIMITIVE_INFINITEPLANEPHYSICSSHAPE_H
10#define AVARA3D_PHYSICS_SHAPE_PRIMITIVE_INFINITEPLANEPHYSICSSHAPE_H
11
12#include "a3d/physics/shape/PhysicsShape.h"
13
14namespace a3d {
15
22
23 public:
24 // [Public Lifecycle Functions]
25
28
29 // [Public PhysicsShape Member Functions]
30
32 Type type() const override;
33
39 void type(Type type) override;
40
41 // [PhysicsShape Internal Member Functions]
42
43 bool supportsBodyType(PhysicsBody::Type type) const override;
44 };
45
46}
47
48#endif // AVARA3D_PHYSICS_SHAPE_PRIMITIVE_INFINITEPLANEPHYSICSSHAPE_H
Infinite collision plane through the local origin with normal along +Z.
Type type() const override
Returns PhysicsShape::Type::Primitive.
void type(Type type) override
Rejects attempts to change the fixed primitive shape type.
InfinitePlanePhysicsShape()
Creates an infinite collision plane through the local XY plane.
Type
Determines how a rigid body participates in simulation.
Definition: PhysicsBody.h:45
Describes collision geometry used by one or more PhysicsBody objects.
Definition: PhysicsShape.h:37
Type
Collision-geometry representation requested for a PhysicsShape.
Definition: PhysicsShape.h:43