How to create a slippery slope?
Use impulse or add movement.
I used actor with simple collision box to define slide volume, and arrow component to set world space vector for slide direction.
When player enters this collision box - I send him an event that he is in sliding area with parameters: 1. boolean ShouldSlide 2. vector SlideDirection
In his Tick function ShouldSlide (true) activates simple AddMovementInput function with SlideDirection.
When player is out of collision box - I also send him event that deactivates sliding (ShouldSlide = false).
This approach works well if you disable all other input/controlls during sliding.
In case you need any controls during sliding - try to experiment.
There are few more things here, like change max speed and disable jump.
answered May 09 '18 at 09:02 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here