ドキュメント

Unity Engine

Unity Engine

GetSeparation(Vector2)

Get the signed separation of a point from a plane.
読み終わるまでの所要時間 1 分最終更新 8日前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly float GetSeparation(Vector2 point)

Parameters

point

The point to check the separation from the plane.

Returns

Type

Description

floatThe signed separation of the point from the plane.