I’m currently looking to create a warp/blink effect along the lines of Whirlwind Sprint from Skyrim, or the Mage’s Blink from World of Warcraft. In both cases, the character moves along the landscape (i.e. warps uphill if facing into a hill and downhill if facing down a hill). I have not come up with a method that does this, and I’m out of ideas…
What I have tried:
Adding an impulse force (Launch Character or Add Force). On a semi level surface this is fine. Looking downhill, the character gets launched across the level, and up hill it just collides with the hill and stops.
Manually moving the character (Teleport To or Set Actor Location), which again works on level surfaces, but throws the character in mid-air looking downhill, or into the hill looking up hill. Part of my problem with this approach is that I’ve been unable to accurately find the Z coordinate of the target location (I’ve tried using traces against the landscape/level meshes, but have had no luck).
Anyone have any ideas/thoughts on how this might be done? I prefer code, but if it needs to be Blueprint, that is fine too.
Currently using 4.6.1 until our demo is complete.