Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetRelativePoint(Vector2)

Get a global space point given the point relativePoint in rigidBody local space.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 GetRelativePoint(Vector2 relativePoint)

Parameters

relativePoint

The local space point to transform into global space.

Returns

Type

Description

Vector2