[breaking change] add filter groups to raycast


Add filter groups functions back to Raycast ACE

This may be a a breaking change, because raycast filter group parameter has changed from a number to a hex string, each bit in a 16-bit hex int represents a group.

To fix, change back to previous behavior (no filtering), change the "filter groups" parameter to "0xFFFF" (including quotes)

"0x0000" - belongs to no groups

"0x0001" - belongs to group 1

"0x0002" - belongs to group 2

"0x0003" - belongs to group 1 and 2

Use the ACE Set collision Groups  to change the membership and filter of a physics object (default is "0xFFFF" and "0xFFFF")

For more information, see: https://rapier.rs/docs/user_guides/javascript/colliders#collision-groups-and-sol...

Files

mikal_cannon_3d_physics-2.12.1.c3addon 1.4 MB
91 days ago
rapier-raycast-triggers-filter.c3p 1,014 kB
91 days ago

Get Construct 3 3D Physics

Buy Now$10.00 USD or more

Leave a comment

Log in with itch.io to leave a comment.