chrono::collision::ChCollisionSystem::ChRayhitResult Struct Reference


This will be used to recover results from RayHit() raycasting.

#include <ChCCollisionSystem.h>

Collaboration diagram for chrono::collision::ChCollisionSystem::ChRayhitResult:

Public Attributes

bool hit
ChVector abs_hitPoint
 if true, there was an hit - look following date for infos
ChVector abs_hitNormal
 hit point in absolute space coordinates
double dist_factor
 normal to surface in absolute space coordinates
 from 0 .. 1 means the distance of hit point along the segment