(22-02-2019, 10:37 AM)josemendez Wrote: Yes, simply project their position/velocity to the desired axis, using Vector3.Project.
https://docs.unity3d.com/ScriptReference...oject.html
Sorry, but I could not realize well. The reference states how to change the direction, not to constrain. Or is there another way?