First supporter! Add CollisionGroup/Mask
Construct 3 3D Physics » Devlog
First supporter! Thank you!
In celebration:
Add ACEs:
- Set collision filter group
- Set collision filter group mask
Details:
- Filter groups are power of 2: 0,1,2,4,8,16,32, etc.
- Filter group mask are an OR of the all the filter groups to include (can also just add all the groups, same effect as OR in this case)
- How to filter collisions using Body.collisionFilterGroup and Body.collisionFilterMask.
- The filters are applied inside the broadphase. It can be used to allow or disallow collisions between bodies.
- To disable mask / filter use a value of -1
- A collision is allowed if:
- (bodyA.collisionFilterGroup & bodyB.collisionFilterMask) && (bodyB.collisionFilterGroup & bodyA.collisionFilterMask)
- These are indeed bitwise operations. Learn more about that here: http://en.wikipedia.org/wiki/Bitwise_operation
Files
OnCollision-1-0-1.c3p 109 kB
Oct 24, 2023
mikal_cannon_3d_physics-1.6.0.c3addon 84 kB
Oct 24, 2023
collisionFilter.txt 5.2 kB
Oct 26, 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 case31 days ago
- Update Rapier Character Controller example52 days ago
- Fix (castRay/castShape) double trigger52 days ago
- New 3D Level Editor using KindEyeGames plugins!57 days ago
- feat (body) add set Restitution and Friction ACEs65 days ago
- fix (cast) fix shapecast batch, multiple, and miss96 days ago
- 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.