You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem Description: I am updating the camera position while playing the game but the changed camera position is not available in unrealcv. The process can be outlined as follows
Press play in the Unreal Engine to start the game
Press the button C by executing the request client.request('vset /action/keyboard C 1'). This will change the camera location (for example it can translate the camera by 5 units along Z axis). The camera location is updated in the level blueprint.
Execute the line print(client.request('vget /camera/0/pose')) to check if location change is reflecting in unrealcv. It is not reflecting.
It returns the lit image from the old camera position since the location change is not available.
Note that after executing the step 2, the camera location does change in the unreal engine's viewport but the changes don't reflect in unrealcv. Also, there is only one camera actor in this setup. I have also tried using sleep to wait for the change to reflect but it didn't help.
I understand that I can explicitly set the camera pose by using vset /camera/0/pose, that said, I was wondering if what I am observing is the expected behavior.
Thanks
The text was updated successfully, but these errors were encountered:
client.request('vset /action/keyboard C 1')
. This will change the camera location (for example it can translate the camera by 5 units along Z axis). The camera location is updated in the level blueprint.print(client.request('vget /camera/0/pose'))
to check if location change is reflecting in unrealcv. It is not reflecting.It returns the lit image from the old camera position since the location change is not available.
Note that after executing the step 2, the camera location does change in the unreal engine's viewport but the changes don't reflect in unrealcv. Also, there is only one camera actor in this setup. I have also tried using
sleep
to wait for the change to reflect but it didn't help.I understand that I can explicitly set the camera pose by using
vset /camera/0/pose
, that said, I was wondering if what I am observing is the expected behavior.Thanks
The text was updated successfully, but these errors were encountered: