Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trigger areas #290

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

trigger areas #290

wants to merge 1 commit into from

Conversation

nearnshaw
Copy link
Member

No description provided.

@nearnshaw nearnshaw requested a review from a team as a code owner February 19, 2025 20:01
Copy link

Deploying adr with  Cloudflare Pages  Cloudflare Pages

Latest commit: 67b4708
Status: ✅  Deploy successful!
Preview URL: https://0315754f.adr-cvq.pages.dev
Branch Preview URL: https://trigger-areas.adr-cvq.pages.dev

View logs

@robtfm
Copy link

robtfm commented Feb 27, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants