Get object position updated live? #4682
Unanswered
Eric-Carleton
asked this question in
Support Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have been trying to use simGetObjectPose to get live position readings for a moving actor (a platform in this case) with respect to the world frame, but the position doesn't seem to update live?
I have simGetObjectPose run multiple times in my code as the platform moves in Unreal, but it always returns the same position as if the actor isn't moving. I have already verified that the blueprint is set to "Movable" and that the name is correct.
Is this because the object is setup in the environment and moves with events set up on the object? Is there any way to get a live reading of an object moving this way?
If I spawn the object instead, would it update live? Would I then have to control its position in the python code?
The way I am moving it currently is temporary as eventually I want to be able to load a .csv file with its path and run trials with various paths, but I would still need an exact position reading at the same time that my other log recordings are triggered.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions