This will help you to create a marble roller game in unity.
Unity marble movement.
A collision constrains the move from taking place.
Charactercontroller move does not use gravity.
Movement wasd jump space camera arrow keys.
Use unity to build high quality 3d and 2d games deploy them across mobile desktop vr ar consoles or the web and connect with loyal and enthusiastic players and customers.
The example below demonstrates how to use.
Unity 5 marble game prototype duration.
In this assignment we ll add a rigidbody 2d to our player so that they can moved using physics and write a simple c script to allow us to move the player around the play field.
The given direction requires absolute movement delta values.
In this one we create the movement script for our player followed by a third person camera locked on 4 different axes we also smooth the camera s rotation.
The charactercontroller move motion moves the gameobject in the given direction.
None sides above and below.
It is very easy.