pub type b3WorldCastOutput = b3CastOutput;Expand description
Same type in single precision.
Aliased Type§
#[repr(C)]pub struct b3WorldCastOutput {
pub normal: b3Vec3,
pub point: b3Vec3,
pub fraction: f32,
pub iterations: i32,
pub triangleIndex: i32,
pub childIndex: i32,
pub materialIndex: i32,
pub hit: bool,
}Fields§
§normal: b3Vec3The surface normal at the hit point.
point: b3Vec3The surface hit point.
fraction: f32The fraction of the input translation at collision.
iterations: i32The number of iterations used.
triangleIndex: i32The index of the mesh or height field triangle hit.
childIndex: i32The index of the compound child shape.
materialIndex: i32The material index. May be -1 for null.
hit: boolDid the cast hit?