Nudge Physics
A single file, header-only 3D physics library
Loading...
Searching...
No Matches
nudge::BodyMomentum Struct Reference

The BodyMomentum struct. More...

#include <nudge.h>

Public Attributes

float velocity [3]
 
float unused0
 
float angular_velocity [3]
 
float unused1
 

Detailed Description

The BodyMomentum struct.

Member Data Documentation

◆ velocity

float nudge::BodyMomentum::velocity[3]

the body linear velocity in world space

◆ unused0

float nudge::BodyMomentum::unused0

padding value used internally (better not touch)

◆ angular_velocity

float nudge::BodyMomentum::angular_velocity[3]

the body angular velocity in world space

◆ unused1

float nudge::BodyMomentum::unused1

padding value (this is not used AFAIK)


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