Nebula
Loading...
Searching...
No Matches
Physics::CharacterHitEvent Struct Reference

#include <physicsinterface.h>

Detailed Description

A shape a character controller hit during its move.

Note
Only a shape hit is reported. A controller cannot name the other controller it hit as an entity, so controller against controller hits are not turned into an event.

Public Attributes

CharacterId character
ActorId actor
ShapeId shape
Math::point position
Math::vector normal
float distance

Member Data Documentation

◆ actor

ActorId Physics::CharacterHitEvent::actor

◆ character

CharacterId Physics::CharacterHitEvent::character

◆ distance

float Physics::CharacterHitEvent::distance

◆ normal

Math::vector Physics::CharacterHitEvent::normal

◆ position

Math::point Physics::CharacterHitEvent::position

◆ shape

ShapeId Physics::CharacterHitEvent::shape

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