CS::Physics::Bullet::HitBeamResult Struct Reference
Return structure for the CS::Physics::Bullet::iDynamicSystem::HitBeam() routine. More...
#include <ivaria/bullet.h>
Public Attributes | |
| iBody * | body |
| The resulting body that was hit, or 0 if no body was hit. | |
| 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. | |
| size_t | vertexIndex |
| The index of the closest vertex of the soft body to be hit. | |
Detailed Description
Return structure for the CS::Physics::Bullet::iDynamicSystem::HitBeam() routine.
It returns whether a rigid body, a soft body or a physical terrain collider has been hit.
- See also:
- csHitBeamResult csSectorHitBeamResult
Definition at line 97 of file bullet.h.
Member Data Documentation
The documentation for this struct was generated from the following file:
- ivaria/bullet.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
