Result of a Raycast.
public struct RayCastHitMembers at a glance
| Kind | Members |
|---|---|
| Fields | ComponentId · Fraction · Location · Normal |
Fields
ComponentId
public Sansar.Script.ComponentId ComponentIdThe id of the RigidBodyComponent hit.
Fraction
public float FractionThe query shape’s position (upon contact) along the cast direction as a fraction of the original casting length.
Location
public Sansar.Vector LocationThe location where the hit occurred.
Normal
public Sansar.Vector NormalThe normal at the location where the hit occurred.
Generated from the Sansar 47.10.0 client ScriptApi snapshot.