Engine → Physics → components.h
collider_body_plan
| Type | Struct |
| Namespace | conjure::physics |
| Include File Path | engine/include/conjure/physics/components.h |
| Source File Path | N/A |
| API ↗ | Bodies, colliders and characters, Physics |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | box | bool | false | |
| public | capsule | bool | false | |
| public | convex | bool | false | |
| public | isTrigger | bool | false | |
| public | mesh | bool | false | |
| public | pending | bool | false | |
| public | scaled | bool | true | |
| public | sphere | bool | false |
Functions
Public
builds
builds[[nodiscard]] bool builds() const noexcept;True when a body is built: no collision mesh is pending and at least one collider is kept.
Operator Overloads
Public
operator==
operator==[[nodiscard]] bool operator==(
const collider_body_plan &) const = default;