adr icon indicating copy to clipboard operation
adr copied to clipboard

trigger areas

Open nearnshaw opened this issue 10 months ago • 2 comments

nearnshaw avatar Feb 19 '25 20:02 nearnshaw

Deploying adr with  Cloudflare Pages  Cloudflare Pages

Latest commit: e448293
Status:🚫  Build failed.

View logs

perhaps rather than requiring the trigger area to have a MeshCollider alongside it, we could add mesh and collision_mask fields to this new component (and maybe rename it to MeshTrigger).

then we can specify the default collision layers differently.

we could also update the gltf reader to specify that _trigger name means it's a MeshTrigger, in parallel to current the _collider -> MeshCollider?

that would avoid all changes on existing components / behaviours and would give us good default behaviour for the new component.

robtfm avatar Feb 27 '25 15:02 robtfm