Add raycast triggers and modes: closest, any, all
Construct 3 3D Physics » Devlog
Add raycast triggers and modes: closest, any, all
- Add OnAnyRaycast Result - regardless of tag
- Add OnRaycastResult(tag) - only Results marked with 'tag' cause the trigger
For modes 'closest' and 'any' there is only one raycast result and it is synchronous, so it is optional to use triggers, the data is available after the raycast event.
For mode 'all' - raycast triggers are generated for every body that the raycast hit and the RaycastResult data reflects the data for each hit. In this way all of the hits in mode all can be processed as they cause a trigger.
If raycasts don't hit any body, a trigger is still generated, but the hasHit value will be 0 (false).
Files
mikal_cannon_3d_physics-1.13.0.c3addon 85 kB
Oct 30, 2023
Raycast triggers.c3p 1,013 kB
Oct 30, 2023
Get Construct 3 3D Physics
Buy Now$10.00 USD or more
Construct 3 3D Physics
3D Physics behavior for Construct 3 with support for 3DShape and 3DObject
Status | In development |
Category | Assets |
Author | kindeyegames |
Tags | construct-3 |
More posts
- fix (castShape) miss case61 days ago
- Update Rapier Character Controller example82 days ago
- Fix (castRay/castShape) double trigger82 days ago
- New 3D Level Editor using KindEyeGames plugins!87 days ago
- feat (body) add set Restitution and Friction ACEs95 days ago
- fix (cast) fix shapecast batch, multiple, and missSep 16, 2024
- feat (body) add ACE to override body sizeSep 12, 2024
- (feat) Add sensor support for character controller collisionsAug 28, 2024
- Add model mesh - courtesy of FoozleAug 20, 2024
- Add On physics ready triggerJul 27, 2024
Leave a comment
Log in with itch.io to leave a comment.