|
In my game, there is a ball that gets a velocity in the beginning, like this: Now the problem is, if I rotate the ball, it keeps on going along the global x axis (Even if I rotate the ball before the game starts, it just follows global x.). How can I make the ball follow its local x axis? Thanks Arne
(comments are locked)
|
|
(comments are locked)
|

instead of new Vector3 do transform.forward * velocity