# Grabbed objects get stuck

**URL:** <https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797>\
**Category:** World Creation\
**Tags:** grab, teleport, unreal-engine, FeatureRequest, Physics, Blueprint, question\
**Created:** [August 30, 2018, 1:42pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797 "2018-08-30T13:42:15Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaosrio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaosrio](https://forums.unrealengine.com/u/kaosrio)\
**Post date:** [August 30, 2018, 1:42pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/1 "2018-08-30T13:42:15Z")

</div>

In my project the player has the ability to teleport between levels,  
he can also pick up physics object in the world and teleport with them,

the issue is that when the player teleport with something in his hands it tends to get stuck between levels, and i don’t know how to fix this

Ps: the levels are layered on top of each other

![252040-stuck.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/0/c/90ca9c5713d018de4e4ea6dbc656f2110c6ec449.gif)

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![HarryHighDef](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HarryHighDef](https://forums.unrealengine.com/u/HarryHighDef)\
**Post date:** [August 30, 2018, 1:44pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/2 "2018-08-30T13:44:52Z")

</div>

What do you mean stuck “between” levels?

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 30, 2018, 2:34pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/3 "2018-08-30T14:34:55Z")

</div>

You should take care to teleport the stuff in his hands and the hands themselves too. (manually)

Now how you do it depends on your particular teleport mechanic. Maybe you can just store it and re-set their positions. Maybe you should destroy and re-spawn them after the teleportation.

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [August 30, 2018, 3:31pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/4 "2018-08-30T15:31:21Z")

</div>

You can save the object, and on begin play Spawn it again and attach to physics handle again

---

<div class="post-metadata">

**Author:** ![kaosrio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaosrio](https://forums.unrealengine.com/u/kaosrio)\
**Post date:** [September 3, 2018, 1:52pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/5 "2018-09-03T13:52:34Z")

</div>

Thanks, this is my current solution although if there’s lag in the game it can sometimes still get stuck

---

<div class="post-metadata">

**Author:** ![kaosrio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaosrio](https://forums.unrealengine.com/u/kaosrio)\
**Post date:** [September 3, 2018, 1:53pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/6 "2018-09-03T13:53:04Z")

</div>

Sometimes the object that the player is holding can get stuck underneath the floor

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [September 3, 2018, 2:50pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/7 "2018-09-03T14:50:07Z")

</div>

The object get stuck underneath the floor when teleporting or there is no relation?

---

<div class="post-metadata">

**Author:** ![kaosrio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaosrio](https://forums.unrealengine.com/u/kaosrio)\
**Post date:** [September 3, 2018, 3:10pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/8 "2018-09-03T15:10:01Z")

</div>

Yea, only when i teleport, because the player teleports to the floor above, and the object tries to follow. i fixed this by setting the world location of the held object when the player teleports. However objects can still get stuck in between floors sometimes if theres lag.

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [December 3, 2018, 5:32am UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/9 "2018-12-03T05:32:04Z")

</div>

When you set the Location of the held object, remember to turn off the Sweep option.

---

<div class="post-metadata">

**Author:** ![kaosrio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaosrio](https://forums.unrealengine.com/u/kaosrio)\
**Post date:** [December 14, 2018, 10:39am UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/10 "2018-12-14T10:39:19Z")

</div>

Yup, sweeping is turned off

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [December 14, 2018, 10:59am UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/11 "2018-12-14T10:59:02Z")

</div>

You can try releasing the object, teleporting it in front of the character, and then immediately grabbing it again. Maybe the physics handle trying to pull the object somehow interferes with the teleportation.

---

<div class="post-metadata">

**Author:** ![kaosrio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaosrio](https://forums.unrealengine.com/u/kaosrio)\
**Post date:** [December 15, 2018, 10:24am UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/12 "2018-12-15T10:24:53Z")

</div>

ooh, good idea, i’ll try it out

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6f76e59a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6f76e59a](https://forums.unrealengine.com/u/anonymous_user_6f76e59a)\
**Post date:** [May 22, 2019, 8:57pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/13 "2019-05-22T20:57:58Z")

</div>

Thanks, this helped me understand how physics handle works.

---

<div class="post-metadata">

**Author:** ![BenVlodgi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benvlodgi/32/1194567_2.png) [@BenVlodgi](https://forums.unrealengine.com/u/BenVlodgi)\
**Post date:** [May 23, 2019, 6:14pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/14 "2019-05-23T18:14:14Z")

</div>

If you are holding an object. Save a reference to this `PrimitiveComponent` and its `Actor`.  
When you teleport, make sure to set the world location of the held object to the desired held object location.

You can call [SetWorldLocation](https://api.unrealengine.com/INT/BlueprintAPI/Utilities/Transformation/SetWorldLocation/index.html) on the primitive component.

- Swept: `False`
- Teleport: `True`

Or you can call [Teleport](https://api.unrealengine.com/INT/BlueprintAPI/Utilities/Transformation/Teleport/index.html) on the held object’s actor if the physics component is the root of the actor.

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [May 23, 2019, 7:23pm UTC](https://forums.unrealengine.com/t/grabbed-objects-get-stuck/432797/15 "2019-05-23T19:23:05Z")

</div>

To prevent objects from getting stuck in the floor, I often teleport them to a location higher than the floor, then have move them down to the desired location in Z, with Sweep option on. This is similar to placing an object in the editor, then tapping the “end” key, although it won’t place them so far down as that if there’s no floor for a long way.
