- Home /
Question by
PuppyTails · Jun 30, 2018 at 03:27 AM ·
rigidbodyvelocity
How to save Velocity as vector3?
This is probably easy, but I still need to know how,
Comment
Best Answer
Answer by MT369MT · Jul 01, 2018 at 09:04 AM
Hi, if you mean Rigidbody.velocity it is already a Vector3. But if you want to store it you could use:
new Vector3 Velocity;
Velocity = RB.velocity;
Thank you, I can't believe that's all it took, anyways, thank you,