We are not able to use velocity directly “RigidBody.velocity = vectore3(0,10,0);” in the unity upgrade So does that mean that velocity is not a static variable ?
bump
rigidbody.velocity = new Vector3(0, 10, 0);
the quick accessors like “rigidbody” were removed in unity 5.
Rigidbody rigidbody = GetComponent<Rigidbody>();
rigidbody.velocity = new Vector3(0, 10, 0);
you just need to get the reference yourself, this works fine
why would you think the velocity of a specific instance of the class be a static variable??
1 Like
I don’t think that word means what he thinks it means.
1 Like