Version: 2018.4
public bool enableOverlapRecovery ;

説明

OverlapRecovery (重複からの回復) を有効/無効にします。 OverlapRecovery (重複からの回復) を有効/無効にします。重複が検知されると、キャラクターコントローラーを静的オブジェクトにめり込んでいない状態に戻すのに使用されます。

Overlap recovery can be used to depenetrate character controllers (CCTs) from static objects when an overlap is detected. This can happen in three main cases:

- when the CCT is directly spawned or teleported in another object

- when the CCT algorithm fails due to limited FPU accuracy

- when the "up vector" is modified, making the rotated CCT shape overlap surrounding objects

When activated, the CCT module will automatically try to resolve the penetration, and move the CCT to a safe place where it does

これは、静的オブジェクトだけに行われ、動的オブジェクトに関しては、OverlapRecovery はこのようなことはしません。

OverlapRecovery がアクティベートされていないと、キャラクターコントローラーモジュールが静的オブジェクトを貫通します。デフォルトでは、OverlapRecovery は有効です。

OverlapRecovery (重複からの回復) は、現在 heightfields を除くすべてのジオメトリで可能です。

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961