Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
unity get velocity of gameobject
user15881
Programming language:
C#
2021-05-31 14:33:45
0
Q:
unity get velocity of gameobject
藍書僮
Code:
C#
2021-03-30 13:59:12
Rigidbody rb = GetComponent<Rigidbody>(); rb.velocity; // Velocity of gameObject (Vector3)
2
Tags
unity
get
gameobject
game
Related
how i can get a gameobject from a transform
how to acivate a game object unity
how to get the current gameobject animator in unity
how to reference the position of a game object unity
how to get the transform of an object in unity
unity get velocity at point
get position of any gameobject in unity
how to change the position of a gameobject in c# unity
unity get layer of gameobject
rigidbody velocity c# unity
New to Communities?
Join the community