文档

Unity Engine


Unity Engine


GetLocalVector(Vector2)

Gets a local vector on a body given a world vector.
阅读时间1 分钟最后更新于 1 个月前

Definition

public Vector2 GetLocalVector(Vector2 worldVector)

Parameters

worldVector

The world vector to transform.

Returns

Type

Description

Vector2The local vector relative to the body.