FreeWRL / FreeX3D 4.3.0
CollisionElasticPdu Struct Reference

Data Fields

struct EntityInformationFamilyPdu myEntityInformationFamilyPdu
 
struct EntityID issuingEntityID
 ID of the entity that issued the collision PDU.
 
struct EntityID collidingEntityID
 ID of entity that has collided with the issuing entity ID.
 
struct EventID collisionEventID
 ID of event.
 
short pad
 some padding
 
struct Vector3Float contactVelocity
 velocity at collision
 
float mass
 mass of issuing entity
 
struct Vector3Float location
 Location with respect to entity the issuing entity collided with.
 
float collisionResultXX
 tensor values
 
float collisionResultXY
 tensor values
 
float collisionResultXZ
 tensor values
 
float collisionResultYY
 tensor values
 
float collisionResultYZ
 tensor values
 
float collisionResultZZ
 tensor values
 
struct Vector3Float unitSurfaceNormal
 This record shall represent the normal vector to the surface at the point of collision detection.
 
float coefficientOfRestitution
 This field shall represent the degree to which energy is conserved in a collision.
 

Detailed Description

Definition at line 2039 of file DIS.h.

Field Documentation

◆ coefficientOfRestitution

float CollisionElasticPdu::coefficientOfRestitution

This field shall represent the degree to which energy is conserved in a collision.

Definition at line 2070 of file DIS.h.

◆ collidingEntityID

struct EntityID CollisionElasticPdu::collidingEntityID

ID of entity that has collided with the issuing entity ID.

Definition at line 2044 of file DIS.h.

◆ collisionEventID

struct EventID CollisionElasticPdu::collisionEventID

ID of event.

Definition at line 2046 of file DIS.h.

◆ collisionResultXX

float CollisionElasticPdu::collisionResultXX

tensor values

Definition at line 2056 of file DIS.h.

◆ collisionResultXY

float CollisionElasticPdu::collisionResultXY

tensor values

Definition at line 2058 of file DIS.h.

◆ collisionResultXZ

float CollisionElasticPdu::collisionResultXZ

tensor values

Definition at line 2060 of file DIS.h.

◆ collisionResultYY

float CollisionElasticPdu::collisionResultYY

tensor values

Definition at line 2062 of file DIS.h.

◆ collisionResultYZ

float CollisionElasticPdu::collisionResultYZ

tensor values

Definition at line 2064 of file DIS.h.

◆ collisionResultZZ

float CollisionElasticPdu::collisionResultZZ

tensor values

Definition at line 2066 of file DIS.h.

◆ contactVelocity

struct Vector3Float CollisionElasticPdu::contactVelocity

velocity at collision

Definition at line 2050 of file DIS.h.

◆ issuingEntityID

struct EntityID CollisionElasticPdu::issuingEntityID

ID of the entity that issued the collision PDU.

Definition at line 2042 of file DIS.h.

◆ location

struct Vector3Float CollisionElasticPdu::location

Location with respect to entity the issuing entity collided with.

Definition at line 2054 of file DIS.h.

◆ mass

float CollisionElasticPdu::mass

mass of issuing entity

Definition at line 2052 of file DIS.h.

◆ myEntityInformationFamilyPdu

struct EntityInformationFamilyPdu CollisionElasticPdu::myEntityInformationFamilyPdu

Definition at line 2040 of file DIS.h.

◆ pad

short CollisionElasticPdu::pad

some padding

Definition at line 2048 of file DIS.h.

◆ unitSurfaceNormal

struct Vector3Float CollisionElasticPdu::unitSurfaceNormal

This record shall represent the normal vector to the surface at the point of collision detection.

The surface normal shall be represented in world coordinates.

Definition at line 2068 of file DIS.h.


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