Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::BodyTransform Struct Reference

Position and orientation of a physics body, expressed in world space. More...

#include <PhysicsWorld.h>

Public Attributes

Crux::vec3 Translation {0.0f, 0.0f, 0.0f}
 World-space position (metres).
Crux::vec3 Rotation {0.0f, 0.0f, 0.0f}
 Euler angles in radians (XYZ order).

Detailed Description

Position and orientation of a physics body, expressed in world space.

Member Data Documentation

◆ Rotation

Crux::vec3 Raven::BodyTransform::Rotation {0.0f, 0.0f, 0.0f}

Euler angles in radians (XYZ order).

◆ Translation

Crux::vec3 Raven::BodyTransform::Translation {0.0f, 0.0f, 0.0f}

World-space position (metres).


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