Set Location for Physics handle component always sweeping
Hi! I am using a physics handle component to carry objects arround with you (in front of you). I have a teleporter mechanism where the player is teleported from point A to B. If I use Set Actor Location for the player it works, the player is transfered directly to location B. However, any carried objects are NOT teleported instantly. Instead, it moves the entire way from the players old place to the new one, sweeping. Sometimes, this is impossible due to walls and/or floors stopping it from reaching the player character.
How can I DIRECTLY SET a simulated actors location, without moving it all the time?
Ive tried everything, even set target location in the teleporter code but it doesnt work.
How do I solve this?
Thanks in advance
asked Mar 12 '18 at 06:46 PM in Using UE4
If you are holding an object. Save a reference to this
You can call SetWorldLocation on the primitive component.
Or you can call Teleport on the held object's actor if the physics component is the root of the actor.
answered May 23 '19 at 06:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here