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

V3.8.1 merge v3.7.4 #15849

Closed
wants to merge 11 commits into from
4 changes: 2 additions & 2 deletions cocos/physics-2d/spec/i-physics-contact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,17 @@ export interface IPhysics2DContact {
/**
* @en
* If set disabled to true, the contact will be ignored until contact end.
* If you just want to disabled contact for current time step or sub-step, please use disabledOnce.
* @zh
* 如果 disabled 被设置为 true,那么直到接触结束此接触都将被忽略。
* 如果只是希望在当前时间步或子步中忽略此接触,请使用 disabledOnce 。
*/
disabled: boolean;

/**
* @en
* Disabled contact for current time step or sub-step.
* @zh
* 在当前时间步或子步中忽略此接触。
* @deprecated Since v3.7.4, disabledOnce is no longer supported.
*/
disabledOnce: boolean;

Expand Down
Loading