Toast Engine
Loading...
Searching...
No Matches
physics::BodyState Struct Reference

Public Attributes

BodyType type = BodyType::dynamic_body
bool awake = true
glm::vec3 position = {}
glm::quat rotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f)
glm::vec3 previous_position = {}
glm::quat previous_rotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f)
glm::vec3 linear_velocity = {}
glm::vec3 angular_velocity = {}

The documentation for this struct was generated from the following file: