CS::Collisions::HitBeamResult Struct Reference
A structure used to return the result of hit beam. More...
#include <ivaria/collisions.h>
Public Attributes | |
| bool | hasHit |
| Whether the beam has hit a body or not. | |
| csVector3 | isect |
| Intersection point in world space. | |
| csVector3 | normal |
| Normal to the surface of the body at the intersection point. | |
| iCollisionObject * | object |
| The collision object that was hit, or nullptr if no object was hit. | |
| size_t | vertexIndex |
| The index of the closest vertex of the soft body to be hit. | |
Detailed Description
A structure used to return the result of hit beam.
Definition at line 80 of file collisions.h.
Member Data Documentation
Whether the beam has hit a body or not.
Definition at line 87 of file collisions.h.
Intersection point in world space.
Definition at line 93 of file collisions.h.
Normal to the surface of the body at the intersection point.
Definition at line 96 of file collisions.h.
The collision object that was hit, or nullptr if no object was hit.
Definition at line 90 of file collisions.h.
The index of the closest vertex of the soft body to be hit.
This is only valid if it is a soft body which is hit.
Definition at line 102 of file collisions.h.
The documentation for this struct was generated from the following file:
- ivaria/collisions.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
