Question by
MaxKBennett · Jul 09, 2017 at 10:22 PM ·
translation
how would I move an object along a custom vector?
If I move an object like this:
transform.position += transform.forward velocity Time.deltaTime;
It works great! Unfortunately I am locked to the three basic dimensions (transform.forward, transform.up, transform.right). What is the syntax for moving the object along a custom vector?
so for example if transform.forward is basically (0, 0, 1), how would I get the object to transform along custom vector such as (1, 1, 1)?
Thanks!
Comment
Your answer
Follow this Question
Related Questions
How to detect non-latin letters? 1 Answer
How to make object face the direction it's moving? 1 Answer
Rotate camera with point on object 0 Answers
How to make a retracting Tongue? 0 Answers
C# Multidimensional arrays 0 Answers