Code: Select all
bool btSoftBody::rayTest ( const btVector3 & rayFrom,
const btVector3 & rayTo,
sRayCast & results
)
So the input is clear, a world-space line segment. But I don't understand what a sRayCast object's members mean, the struct's members talk about 'feature index' and 'feature type'. If it had no comments at all, I'd guess btSoftBody::sRayCast::fraction gives the fraction along the line segment where the first collision occurs but the comment confuses me.
Can anyone help?