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

fix issue that onControllerTriggerEnter may not be triggered #17616

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

minggo
Copy link
Contributor

@minggo minggo commented Sep 9, 2024

issue: #17615

The reason is that:
Character controller event and Trigger event share the same object triggerArrayMat. And Trigger event uses [BulletShape.id, BulletShape.id] as the key. But Character controller event will use [BulletShape.id, BulletCharacterController.id]. BulletCharacterController.id may conflict with BulletShape.id. So should use another ArrayCollisionMatrix for Character controller event.

Copy link

github-actions bot commented Sep 9, 2024

Interface Check Report

This pull request does not change any public interfaces !

@dumganhar dumganhar merged commit 32ee360 into cocos:v3.8.5 Sep 10, 2024
13 checks passed
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