change character velocity unity
var vel = rigidbody.velocity; //to get a Vector3 representation of the velocityspeed = vel.magnitude; // to get magnitude
4.14
7
transform.position -= new Vector3 (4f, 2f, 0f);
Thank you!
7
0
Are there any code examples left?
New code examples in category C#