PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::RigidBodyInfo Struct Reference

#include <RigidBodyShared.h>

Collaboration diagram for dyno::RigidBodyInfo:

Public Member Functions

 RigidBodyInfo ()
 
 RigidBodyInfo (Vector< Real, 3 > p, Quat< Real > q=Quat< Real >(0.0f, 0.0f, 0.0f, 1.0f))
 

Public Attributes

Quat< Realangle
 
Vector< Real, 3 > linearVelocity
 The linear velocity of the body's origin in world co-ordinates.
 
Vector< Real, 3 > angularVelocity
 The angular velocity of the body.
 
Vector< Real, 3 > position
 The barycenter of the body.
 
Vector< Real, 3 > offset
 An offset from the barycenter to the geometric center.
 
SquareMatrix< Real, 3 > inertia
 The inertia of the body.
 
uint bodyId
 
Real mass
 
Real friction
 
Real restitution
 
BodyType motionType
 
ElementType shapeType
 
CollisionMask collisionMask
 

Detailed Description

Definition at line 37 of file RigidBodyShared.h.

Constructor & Destructor Documentation

◆ RigidBodyInfo() [1/2]

dyno::RigidBodyInfo::RigidBodyInfo ( )
inline

Definition at line 39 of file RigidBodyShared.h.

◆ RigidBodyInfo() [2/2]

dyno::RigidBodyInfo::RigidBodyInfo ( Vector< Real, 3 > p,
Quat< Real > q = Quat<Real>(0.0f, 0.0f, 0.0f, 1.0f) )
inline

Definition at line 56 of file RigidBodyShared.h.

Member Data Documentation

◆ angle

Quat<Real> dyno::RigidBodyInfo::angle

Definition at line 73 of file RigidBodyShared.h.

◆ angularVelocity

Vector<Real, 3> dyno::RigidBodyInfo::angularVelocity

The angular velocity of the body.

Definition at line 79 of file RigidBodyShared.h.

◆ bodyId

uint dyno::RigidBodyInfo::bodyId

Definition at line 90 of file RigidBodyShared.h.

◆ collisionMask

CollisionMask dyno::RigidBodyInfo::collisionMask

Definition at line 102 of file RigidBodyShared.h.

◆ friction

Real dyno::RigidBodyInfo::friction

Definition at line 94 of file RigidBodyShared.h.

◆ inertia

SquareMatrix<Real, 3> dyno::RigidBodyInfo::inertia

The inertia of the body.

Definition at line 88 of file RigidBodyShared.h.

◆ linearVelocity

Vector<Real, 3> dyno::RigidBodyInfo::linearVelocity

The linear velocity of the body's origin in world co-ordinates.

Definition at line 76 of file RigidBodyShared.h.

◆ mass

Real dyno::RigidBodyInfo::mass

Definition at line 92 of file RigidBodyShared.h.

◆ motionType

BodyType dyno::RigidBodyInfo::motionType

Definition at line 98 of file RigidBodyShared.h.

◆ offset

Vector<Real, 3> dyno::RigidBodyInfo::offset

An offset from the barycenter to the geometric center.

Definition at line 85 of file RigidBodyShared.h.

◆ position

Vector<Real, 3> dyno::RigidBodyInfo::position

The barycenter of the body.

Definition at line 82 of file RigidBodyShared.h.

◆ restitution

Real dyno::RigidBodyInfo::restitution

Definition at line 96 of file RigidBodyShared.h.

◆ shapeType

ElementType dyno::RigidBodyInfo::shapeType

Definition at line 100 of file RigidBodyShared.h.


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