Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»Physics 2d Actions»Get Velocity 2d
Index
Navigation
Community Wiki

Get Velocity 2d

Gets the 2d Velocity of a Game Object and stores it in a Vector2 Variable or each Axis in a Float Variable. NOTE: The Game Object must have a Rigid Body 2D.

Game Object
The GameObject with the Rigidbody2D attached
Vector
The velocity
X
The x value of the velocity
Y
The y value of the velocity
Space
The space reference to express the velocity
Every Frame
Repeat every frame.

 

Tags:

Last modified on 3/14/2016 8:33 AM by User.

  • RSS Feed