Position of a moving actor

Hi,

How can I show the position of a moving actor (simulate physics is enabled)?

This one doesn’t work

[image]

Thanks in advance.

That will work, if the actor has ‘Test’ as a tag…

Only works once, but when I push the actor with the character, it doesn’t work anymore

Are you moving a blueprint?

If you’re moving a static mesh around, that’s part of a blueprint, the blueprint isn’t moving, the mesh is…

Wouldn’t it be easier to put this in the actors that need tracking:

Just ensure the simulating mesh is at the root of the actor.

It still does not work.
Only the beginning position is displayed, not the rolling position.
I want to make a ball roll with physics, while constantly seeing the position of the ball. I would like to use the “Get All Actors with Tag” to find all actors and display their current position.

Read what I said in the post above. About the root - can you confirm? If in doubt, show us the ball actor’s hierarchy.

Do you mean this one?

image

For the simulating actor to report the correct position, the simulating component must be at the root:

Otherwise, the mesh is rolling away but the actor is standing in place.


Alternatively, you can use the world position of the component itself.

1 Like