static unsafe bool PointDistanceCompound <T>(PointDistanceInput input, PhysicsCompoundCollider *compoundCollider, ref T collector) where T : struct, ICollector <DistanceHit> { var leafProcessor = new PointDistanceCompoundLeafProcessor(compoundCollider); return(compoundCollider->BoundingVolumeHierarchy.Distance(input, ref leafProcessor, ref collector)); }
public OverlapPointCompoundLeafProcessor(PhysicsCompoundCollider *compoundCollider) { m_CompoundCollider = compoundCollider; }
public PointDistanceCompoundLeafProcessor(PhysicsCompoundCollider *compoundCollider) { m_CompoundCollider = compoundCollider; }