Wiki

Case Status
Log In

Wiki

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

Set Velocity 2d

Sets the 2d Velocity of a Game Object. To leave any axis unchanged, set variable to 'None'. NOTE: Game object must have a rigidbody 2D.

Game Object
The GameObject with the Rigidbody2D attached
Vector
Set Vector2 velocity and/or override individual axis below.
X
The x value of the velocity. Overrides 'Vector' x value if set
Y
The y value of the velocity. Overrides 'Vector' y value if set
Every Frame
Repeat every frame.

 

Tags:

Last modified on 7/26/2020 6:24 PM by User.

  • RSS Feed