Cast-Ray arguments used by CastRay queries.
Property | Description |
---|---|
maxFraction | The maximum fraction of the translation to consider in the range (0 to 1), typically 1. |
origin | The origin (start) of the ray. |
translation | The translation relative to the CastRayInput.origin of the ray. |
Constructor | Description |
---|---|
PhysicsQuery.CastRayInput | Create a default Cast Ray input. |
Method | Description |
---|---|
FromTo | Calculate a Cast-Ray given two positions. |