Engine → Physics → components.h
rigid_body
| 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 | angular | f32 | 0.05f | |
| public | angular | math::vec3 | math::vec3(0.0f) | |
| public | flags | rigid_body_flags | rigid_ | |
| public | gravity | f32 | 1.0f | |
| public | isSleeping | bool | false | |
| public | layer | u8 | 0 | |
| public | linear | f32 | 0.05f | |
| public | linear | math::vec3 | math::vec3(0.0f) | |
| public | mass | f32 | 1.0f | |
| public | max | f32 | 500.0f | |
| public | motionType | motion_type | motion_ |