Constant Movement?

Hi,
I’ve been trying for a while now to get a particular style of movement for an object. The object is controlled by the arrow keys, similar to a regular top down game, however, when the object is moved, it cannot change direction and continually moves until it hits another object, stopping it. The kind of movement I am looking for is similar to the kind found in Pokémon Gold and Silver, on the Ice Path section found Here: The ice path section begins 17 seconds in. Any help on how to do this would be greatly appreciated, as I’m completely new to unity and just can’t seem to get this right.

Thanks in advance,
Pritchy

When you’re on a constant force mode, triggered by a floor type like the ice patch or whatever, capture the current velocity and make sure it’s the same every next frame, freeze the input until the player hit an obstacle.

You’ll need the character controller, it’s velocity, and OnControllerColliderHit.