기술 자료

Unity Engine

Unity Engine

GetWorldPointVelocity(Vector2)

Get the linear velocity of a world point attached to a body. Usually in meters per second.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public Vector2 GetWorldPointVelocity(Vector2 worldPoint)

Parameters

worldPoint

The world point to transform.

Returns

Type

Description

Vector2The linear velocity at the specified world point attached to a body.