Answers for "how to know the x axis velocity of an object in unity"

C#
1

rigidbody velocity c# unity

//for rigidbody2D
GetComponent<Rigidbody2D>().velocity =new Vector2(40,0);
Posted by: Guest on September-27-2020

Code answers related to "how to know the x axis velocity of an object in unity"

C# Answers by Framework

Browse Popular Code Answers by Language