I am converting a C# to JS script and I got to a point where I am not sure how to continue;
Vector3 localVelocity = transform.InverseTransformDirection(rigidbody.velocity);
gives me this error:
';' expected. Insert a semicolon at the end.
It must be dead simple but I am stuck