1.适配DirectorEvent.RESET后调用physicscontactmanager.clear.#99
Merged
star-e merged 3 commits intococos:v4.0.0from Mar 18, 2026
Merged
1.适配DirectorEvent.RESET后调用physicscontactmanager.clear.#99star-e merged 3 commits intococos:v4.0.0from
star-e merged 3 commits intococos:v4.0.0from
Conversation
…, box2d-jsb, box2d-wam
Code Size Check Report
Interface Check Report! WARNING this pull request has changed these public interfaces:
@@ -47500,8 +47500,9 @@
* @zh 检测给定点在哪些碰撞体内。
*/
testAABB(rect: math.Rect): readonly Collider2D[];
static constructAndRegister(): void;
+ clearContacts(): void;
}
/**
* @en
* Contact impulses for reporting.
@@ -71437,8 +71438,9 @@
raycast(p1: math.IVec2Like, p2: math.IVec2Like, type: ERaycast2DType, mask: number): RaycastResult2D[];
testPoint(p: math.Vec2): readonly Collider2D[];
testAABB(rect: math.Rect): readonly Collider2D[];
drawDebug(): void;
+ clearContacts(): void;
}
export interface _cocos_physics_2d_framework_physics_selector__IPhysicsSelector {
/**
* @en
|
star-e
approved these changes
Mar 18, 2026
|
@tangkaikk ❗ There was an error during the execution of the tasks. Please check the logs for more details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.适配DirectorEvent.RESET后调用physicscontactmanager.clear. 2.根据1来调整,box2d, box2d-jsb, box2d-wam
Re: #
Changelog
Continuous Integration
This pull request:
Compatibility Check
This pull request: