Version: 2023.2
言語: 日本語

SlideResults

struct in UnityEngine

マニュアルに切り替える

説明

The results of a slide movement performed with Rigidbody2D.Slide.

These results can be used to both tune movement configuration and to implement further logic to react to the specific surfaces encountered when a slide occurs.

NOTE: This struct can be used in the Unity Inspector for display purposes.

See Also: Rigidbody2D.Slide and SlideMovement.

変数

iterationsUsedReturns the number of iterations used when performing a Rigidbody2D.Slide.
positionThe position that was calculate as a target position to move to when performing a Rigidbody2D.Slide.
remainingVelocityReturns the remaining velocity that couldn't be used when performing a Rigidbody2D.Slide.
slideHitThe specific contact found when a slide movement is performed with Rigidbody2D.Slide.
surfaceHitThe specific contact found when a slide movement is performed with Rigidbody2D.Slide.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961