I want Top-Down controls where the PC slides around the levels smoothly similar to if they were on ice, but lowering the acceleration/deceleration on the Top-Down Movement Behavior does not give me the results I want.
-
Changing direction along the same axis works right, but if I change axis, for example, moving right to down, instead of right force decreasing and down force increasing, right force is just immediately translated into down force with no acceleration/deceleration, making an awkward L shape instead of a smooth curve.
-
When moving diagonally, when I stop, instead of sliding diagonally, it cuts to whichever of the cardinal directions my finger released a millisecond later with no acceleration/deceleration.
-
When running into an obstacle, if I go back, I am glued to the obstacle until all the momentum is used up. However, if I change axis, as in #1, I glide right along with no acceleration/deceleration.
Can someone help me figure out how to get smooth slippery controls?
Happy Christmas! I tried some topdown stuff this morning - initially without properly reading through your brief. Then i read through it and im still a bit thrown by 3 but you can achieve this using variable conditions. There’s an obstacle that slows you down and so you could do …when you change direction - check if its a new direction and turn on a boolean var that prevents the collision conditions.
movement 1 - rotate to chosen direction - force at player angle
edit - i hadn’t even read number 2 - which is why i don’t get left with anything really important to take care of! …nope - not sure what you mean by this!

movement2 - force in two components - so you can go at angles
1 Like
Movement2 is in the right direction. However, it doesn’t accelerate for some reason.
It decelerates fine, but it doesn’t accelerate, even when I change the value.
ignore my last comment as i was thinking about the 1st method that i tried - Do want it to accelerate more slowly?
here - i’ve put the acceleration slower (at .02 - if you want it quick use .1). There’s no change in force when you change direction at the moment - so you could put that in. I added the thing that you were talking about in your point 2 - so you change direction to free yourself. If this doesn’t work could you post your events as this seems to be working for me.
I made it work. Thank you so much!
1 Like