UE5 SetActorLocation of Simulating actor

Has something changed in UE5 where you can’t do this anymore, I’ve always been able to detach and move an actor then simulate physics, usually dropping pickups etc, however I noticed that I can’t set the actor location as long as the actor is simulating, and also the order doesn’t matter.

Thank you.

Is Rifle Mesh 0 the root component of BP_Rifle? Simulating components won’t move when you use Set Actor Location unless they’re are the Root Component

To get the desired effect here though, you can Set Simulate Physics after you Set Actor Location

1 Like

You’re right I didn’t check if it’s the root component, setting the skeletal mesh to be the root solved the issue.
I’m having the same issue in another project where the root component is the one simulating physics though, but seeing it work in this example I just have to debug the issue.

Thanks for your help.

1 Like

Update:
Found the issue in my other project, the collision is set to Physics only (No query) so it has to be set to Query and physics for the teleport to work.

Edit: You can also set the collision to No collision, teleport the gun then set the Collison to Physics only and simulate physics.

1 Like