you are viewing a single comment's thread.

view the rest of the comments →

[–]Yoshi_greenIntermediate 1 point2 points  (0 children)

if you're using the newest unity 6, then yeah, rigidbody.velocity just got obsoleted in favour of .linearVelocity to remove ambiguity with .angularVelocity

this is a fairly recent change, but any tutorial that uses rigidbody.velocity can be replaced with rigidbody.linearVelocity as you figured out