BodySpec Struct Reference

#include <Body.h>

# Public Attributes

ComponentSpec componentSpec
 Component spec.
bool createBody
 Flag to create or not a body.
fixed_t mass
 Mass.
fixed_t frictionCoefficient
 Friction coefficient.
fixed_t bounciness
 Bounciness.
Vector3D maximumVelocity
 Maximum velocity.
fixed_t maximumSpeed
 Maximum speed.
uint16 axisSubjectToGravity
 Axises on which the body is subject to gravity.
uint16 axisForSynchronizationWithBody
 Axises around which to rotate the owner when syncronizing with body.

# Detailed Description

Struct that specifies the physical properties of bodies

Definition at line 45 of file Body.h.

# Member Data Documentation

# axisForSynchronizationWithBody

uint16 BodySpec::axisForSynchronizationWithBody

Axises around which to rotate the owner when syncronizing with body.

Definition at line 72 of file Body.h.

# axisSubjectToGravity

uint16 BodySpec::axisSubjectToGravity

Axises on which the body is subject to gravity.

Definition at line 69 of file Body.h.

# bounciness

fixed_t BodySpec::bounciness

Bounciness.

Definition at line 60 of file Body.h.

# componentSpec

ComponentSpec BodySpec::componentSpec

Component spec.

Definition at line 48 of file Body.h.

# createBody

bool BodySpec::createBody

Flag to create or not a body.

Definition at line 51 of file Body.h.

# frictionCoefficient

fixed_t BodySpec::frictionCoefficient

Friction coefficient.

Definition at line 57 of file Body.h.

# mass

fixed_t BodySpec::mass

Mass.

Definition at line 54 of file Body.h.

# maximumSpeed

fixed_t BodySpec::maximumSpeed

Maximum speed.

Definition at line 66 of file Body.h.

# maximumVelocity

Vector3D BodySpec::maximumVelocity

Maximum velocity.

Definition at line 63 of file Body.h.


The documentation for this struct was generated from the following file:
  • VUEngine-Core/source/Component/Body/Body.h