Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


hitMultipleFaces

Whether raycast batch query should hit multiple faces.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public bool hitMultipleFaces

Remarks

Can be used in conjuction with QueryParameters.hitBackfaces to get backface hits as well.