Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cocos/physics-2d/box2d-wasm/rigid-body.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export class B2RigidBody2D implements IRigidBody2D {
if (!this._body!.GetWorld().IsLocked()) {
this._body!.SetEnabled(v);
} else if (DEBUG) {
warn('Can not active RigidBody in contract listener.');
warn('Can not active RigidBody in contact listener.');
}
}
wakeUp (): void {
Expand Down
2 changes: 1 addition & 1 deletion cocos/physics-2d/box2d/rigid-body.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export class b2RigidBody2D implements IRigidBody2D {
if (!this._body!.m_world.IsLocked()) {
this._body!.SetActive(v);
} else if (DEBUG) {
warn('Can not active RigidBody in contract listener.');
warn('Can not active RigidBody in contact listener.');
}
}
wakeUp (): void {
Expand Down
Loading