文档

Unity Engine

Unity Engine

GetLocalPointVelocity(Vector2)

Get the linear velocity of a local point attached to a body. Usually in meters per second.
阅读时间1 分钟最后更新于 1 个月前

Definition

public Vector2 GetLocalPointVelocity(Vector2 localPoint)

Parameters

localPoint

The local point to transform.

Returns

Type

Description

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