how to drive the multirotor rotate on pitch angle and roll angle
Question
What's your question?
I want to drive the multirotor rotate on pitch angle and roll angle. Does multirotor support moveByAngleZAsync? What's the TODO meaning in the Unity APIs?
Include context on what you are trying to achieve
I just find the rotateToYawAsync API to drive the multirotor rorate on yaw angle. And the multirotor pose doesn't change using moveByAngleZAsync API.
client.moveByAngleZAsync(0, 0, -2, 30 / 180 * math.pi, 5).join()
Looking forward to your reply. Thank you so much!
Are you building Airsim on Unity? If an API says TODO in the Unity APIs, then that means it works in Unreal Engine but not Unity.
Are you building Airsim on Unity? If an API says TODO in the Unity APIs, then that means it works in Unreal Engine but not Unity.
I build the project on UE4.27.
Hi @Cming7, the server binding for this API was removed in #2297. You'll want to use the moveByRollPitchYawZAsync API instead.
I put out PR #4338 to fix this.