Skip to content

FRotator arguments order should be pitch, yaw, roll instead of roll, pitch, yaw#718

Open
F0x06 wants to merge 1 commit into20tab:masterfrom
F0x06:frotator-args-fix
Open

FRotator arguments order should be pitch, yaw, roll instead of roll, pitch, yaw#718
F0x06 wants to merge 1 commit into20tab:masterfrom
F0x06:frotator-args-fix

Conversation

@F0x06
Copy link

@F0x06 F0x06 commented May 3, 2019

Hi,

when porting some of my code to python, i noticed that my Actor was rotating the wrong way, according to https://api.unrealengine.com/INT/API/Runtime/Core/Math/FRotator/index.html the arguments order of FRotator function should be

FRotator
(
    float InPitch,
    float InYaw,
    float InRoll
) 

instead of Yaw, Pitch, Roll

Best regards,
F0x.

davidjo pushed a commit to davidjo/UnrealEnginePython that referenced this pull request Jun 30, 2020
FRotator arguments order should be pitch, yaw, roll instead of roll, pitch, yaw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant