Add shape cast thanks to Foozle!
With great thanks to Foozle's implementation, we added the shape cast ACE to the addon. He also helped stomp out some bugs along the way.
Shape cast is like 'cast ray' (was named 'raycast'), except instead of casting a ray (2d line), you can cast a 3d shape, such as a box, sphere, etc. and determine if anything in the volume of shape is hit. It can be very useful to augment character controllers or camera control (as Foozle is doing.)
Also:
- Update to Rapier 0.14 (pick up improvements and bug fixes)
- Fix setMass ACE
Finally a WARNING: do not enable the C3 project setting 'Use worker'. Explicitly change the setting to 'no', do not leave as 'auto'.
Setting 'Use worker' to 'yes' breaks one of the libraries being used 'comlink' and will show up as cast ray and cast shape no longer working. I will look for a work around in the future.
Cast shape in action
Files
Get Construct 3 3D Physics
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
Comments
Log in with itch.io to leave a comment.
amazing!