Fix (castRay/castShape) double trigger


Fix double castRay and castShape trigger.

All castRay and castShape are now batched for efficiency.

Files

mikal_cannon_3d_physics-2.24.1.c3addon 1.4 MB
21 days ago

Get Construct 3 3D Physics

Buy Now$10.00 USD or more

Comments

Log in with itch.io to leave a comment.

Hey, I notice the shapecast doesn't update it's "hasHit" property to 0 when it's not colliding. is this a bug or has something changed?   

Thanks for the report. I'm checking on this.

I just tested in my test environment, and the castShape does impact hasHit. Do you have a sample project that shows this issue?

I've uploaded a sample project and a debug video to my Drive. Let me know if you can see it.

Thanks! Checking it out today.

https://kindeyegames.itch.io/construct-3-cannon/devlog/837226/fix-castshape-miss...

Thanks for the example; it helped with debugging. (The miss case was the issue)

Glad it helped, thanks for fixing it!