Question by
sofiflinck · Jul 09, 2018 at 10:19 PM ·
rotation3dmovement scriptball
Rotation and movement of a rolling sphere
https://youtu.be/1Po3E0nZOpM?t=944
The point is to be able to move around the sphere like the character in this video tutorial, you rotate the ball in order to change the forward direction. That is; WS is the only input that will actually make the ball move in a direction while AD is used to rotate the ball in order to change direction.
The problem is that, since the sphere with the rigidbody also is spinning around, the forward movement is difficult to be accomplished. I've really read a lot and checked a lot of yt-videos but to no prevail. I started with following the tutorial from Unity with Roll a Ball game and tried to work out different solutions. I would be really grateful if I could get some insight in this matter!
Comment