Posts by Alberto O. • 121 points
1 post
-
2
votes1
answer424
viewsA: How do I limit a character’s motion (Touch) to 3 specific points? Unity C#
You can use the function Vector3.MoveTowards. Then, within Update(), you can use an if statement to get the dragging finger. Dai you use Vector3.Movetowards to move your Object to the desired…