# How to move actor without affecting the physics handle?

**URL:** <https://forums.unrealengine.com/t/how-to-move-actor-without-affecting-the-physics-handle/452796>\
**Category:** World Creation\
**Tags:** unreal-engine, Physics, CPP, question\
**Created:** [July 25, 2019, 5:13pm UTC](https://forums.unrealengine.com/t/how-to-move-actor-without-affecting-the-physics-handle/452796 "2019-07-25T17:13:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![programmerwho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@programmerwho](https://forums.unrealengine.com/u/programmerwho)\
**Post date:** [July 25, 2019, 5:13pm UTC](https://forums.unrealengine.com/t/how-to-move-actor-without-affecting-the-physics-handle/452796/1 "2019-07-25T17:13:55Z")

</div>

Hi guys i have some problems while moving the actor. I want to use C++ code to control the movement of the actor(e.x. AddWorldOffset function) and use UPhysicsHandleComponent to simulate grabbing the actor. However, it seems that the movement will affect the grab effect. I hope that the movement will not affect the physics handle. Is there a better way to reach the target?

now the code is like:

```
// in the Tick function
PhysicsHandle->GrabComponentAtLocation(GetMesh(), grabbedBoneName, GetMesh()->GetBoneLocation(grabbedBoneName));
PhysicsHandle->SetTargetLocation(grabbedDistanceVector+GetMesh()->GetBoneLocation(grabbedBoneName));
// i have tried many different paremeters in the following function but they have different and bad result :(
GetMesh()->AddWorldOffset(deltaLocation,true,nullptr, ETeleportType::TeleportPhysics);
```
