Check which angle the plattform have.
I need to check which angle the plattform where I jump on have. Also I have to check from Which side Im coming. Here is a Video: https://www.youtube.com/watch?v=21sl3qfUUYA&t=34s second 24 and 34 He jump from another side and have a other effect.(Just with blueprints) Thank you:)
asked Oct 15 '18 at 03:12 PM in Using UE4
Most people do this with a Line or capsule trace every tick. When the trace hits the slope, you get back a huge Hit info strict that you can use to find out the Hit Normal which is a unit vector (each compoment is a percentage of how lined up with that axis the direction is) of the direction the surface you hit is facing.
You will have to do some math to find out how that angle relates to your character interacting with it but that tells you which direction is away-from-the-surface.
answered Oct 26 '18 at 08:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here