Answers for "get velocity -rigidbody"

C#
1

rigidbody velocity c# unity

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

rigidbody velocity

rb.velocity = new Vector3(0, 10, 0);
Posted by: Guest on February-09-2020

C# Answers by Framework

Browse Popular Code Answers by Language