|
Rapier C — 3D / f32 0.36.0+c.0
|
Copy of the current wheel pose, suspension, and contact state. More...
#include <rapier.h>
Data Fields | |
| struct R3Vector | center |
| World-space wheel center. | |
| struct R3Vector | suspension |
| World-space suspension direction. | |
| struct R3Vector | axle |
| World-space axle direction. | |
| R3Real | rotation |
| Wheel rotation angle in radians. | |
| R3Real | suspension_force |
| Current suspension force. | |
| R3Real | suspension_length |
| Current suspension length. | |
| R3Bool | is_in_contact |
| Whether the wheel has ground contact. | |
| struct R3ColliderHandle | ground_object |
| Ground collider handle, invalid when there is no contact. | |
| struct R3Vector | contact_point |
| World-space ground contact point. | |
| struct R3Vector | contact_normal |
| World-space ground contact normal. | |
Copy of the current wheel pose, suspension, and contact state.
| struct R3Vector R3WheelState::axle |
World-space axle direction.
| struct R3Vector R3WheelState::center |
World-space wheel center.
| struct R3Vector R3WheelState::contact_normal |
World-space ground contact normal.
| struct R3Vector R3WheelState::contact_point |
World-space ground contact point.
| struct R3ColliderHandle R3WheelState::ground_object |
Ground collider handle, invalid when there is no contact.
| R3Bool R3WheelState::is_in_contact |
Whether the wheel has ground contact.
| R3Real R3WheelState::rotation |
Wheel rotation angle in radians.
| struct R3Vector R3WheelState::suspension |
World-space suspension direction.
| R3Real R3WheelState::suspension_force |
Current suspension force.
| R3Real R3WheelState::suspension_length |
Current suspension length.