Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Rigidbody2D.GetPoint

Switch to Manual
public Vector2 GetPoint(Vector2 point);

Parameters

point The global space point to transform into local space.

Description

Get a local space point given the point point in rigidBody global space.

Did you find this page useful? Please give it a rating: