IntersectTestRaycast Op
Cast a ray and check if it intersect/collide with bodies
Summary (oneliner)
Full Name
- Ops.Graphics.Intersection.IntersectTestRaycast
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
Trigger (Trigger)
Coordinate Format index (Number:
<i>integer</i>
) -1 to 1 XYZ-XYZX (Number)
Y (Number)
Z (Number)
To X (Number)
To Y (Number)
To Z (Number)
Active (Number:
<i>boolean</i>
)Change Cursor (Number:
<i>boolean</i>
)OUTPUT PORTS
Next (Trigger)
Has Hit (
<i>boolean</i>
Number)Hit Body Name (String)
Hit X (Number)
Hit Y (Number)
Hit Z (Number)
Patches using IntersectTestRaycast
Changelog
created op | pandur - 2023-06-11 16:23 | |
rename | Ops.Patch.PU3A3qy.CollisionRayCast renamed to Ops.Team.CollisionOps.CollisionRayCast | pandur - 2023-06-11 16:59 |
rename | Ops.Team.CollisionOps.CollisionRayCast renamed to Ops.Graphics.Intersection.IntersectRaycast | pandur - 2023-06-19 11:18 |
feature | switchable to XYZ-XYZ coordinate mode: 3d rays, not only from screencoordinates | pandur - 2024-01-15 18:40 |
feature | Will now pick the clostst body to the camera, not the very first one found | pandur - 2024-02-15 17:22 |