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 case23 hours ago
- Update Rapier Character Controller example21 days ago
- Fix (castRay/castShape) double trigger21 days ago
- New 3D Level Editor using KindEyeGames plugins!27 days ago
- feat (body) add set Restitution and Friction ACEs35 days ago
- fix (cast) fix shapecast batch, multiple, and miss66 days ago
- feat (body) add ACE to override body size70 days ago
- (feat) Add sensor support for character controller collisions85 days ago
- Add model mesh - courtesy of Foozle93 days ago
- Add On physics ready triggerJul 27, 2024
Leave a comment
Log in with itch.io to leave a comment.