Hi everyone,
I posted this on reddit but didn’t get any answers so i’ll try here.
I’ve been trying to recreate the controller of the game Powder - Alpine Simulator for some days now but can’t get the result i want so i decided to seek for help. The game is basically a top-down infinite skiing scroller with really simple controls: tap left or right part of the screen to curve and hold down to curve harder. There are some characteristics that i liked and would like to recreate:
- the first is the way curving works. When you turn, the velocity of the player on the horizontal axis decreases gradually so the player ends up going in a straight line on the vertical axis after some time. I also noticed that the trajectory is dependent on the border of the screen beacuse the velocity on the horizonal axis becomes 0 only when the player reaches the border. To better understand what i’m talking about take a look at this gif: https://gfycat.com/ShortMerryBobolink which shows what happens when you turn by tapping the screen ONCE. Also, when you hold down the finger the player curves faster but also loses velocity on the vertical axis. This allows to regulate the vertical axis velocity, which is a nice thing since the player accelerates continuously.
- the second thing is that changing direction from left to right or viceversa is fast but doesn’t happen immediately meanwhile what i was able to come up with was either too fast or felt slow and sloppy.
I tried using forces, changing the transform.position and even changing the velocity directly but the result just isn’t as good, so i’d like to know how would you implement a player controller like this.
It’s probably worth noting that even though i completed a game with another game engine, i’m still noob with unity so any help will be appreciated.
Here are some youtube links in case you want to see some gameplay: