Fix Physics3D from also creating a solid when the character behavior is re-activated (#7723)

This commit is contained in:
D8H
2025-07-16 19:52:38 +02:00
committed by GitHub
parent a15ffb5b47
commit 1f26b72b4b

View File

@@ -635,11 +635,6 @@ namespace gdjs {
override onActivate() {
this._sharedData.addToBehaviorsList(this);
this._contactsEndedThisFrame.length = 0;
this._contactsStartedThisFrame.length = 0;
this._currentContacts.length = 0;
this.updateBodyFromObject();
}
override onDestroy() {