A character teleported slightly above ground is automatically put on the ground?
I was trying to teleport my character 30 units above the ground, but noticed that nothing happened. Then I did some testing and saw that teleporting anything less than 46 units automatically places your character on the ground. I assume this isn't a glitch but rather a is a built-in thing so characters can teleport on the ground correctly, but what should I do if i want to teleport slightly above the ground?
You can try this yourself by adding the below code to the third person template. Change the Z value to 50 and suddenly the player will teleport.
asked Nov 12 '15 at 12:56 AM in Blueprint Scripting
I figured it out. CharacterMovement, the component that Characters have in them by default, will automatically move the character to the ground when it is teleported slightly above or below the ground. I had to set MovementMode to None, move the actor 30 units above ground, then set MovementMode to falling for the teleport to work
answered Nov 15 '15 at 04:25 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here