Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Open
F0x06 wants to merge 1 commit into20tab:master20tab/UnrealEnginePython:masterfrom
F0x06:frotator-args-fixF0x06/UnrealEnginePython:frotator-args-fixCopy head branch name to clipboard
Open

FRotator arguments order should be pitch, yaw, roll instead of roll, pitch, yaw#718
F0x06 wants to merge 1 commit into20tab:master20tab/UnrealEnginePython:masterfrom
F0x06:frotator-args-fixF0x06/UnrealEnginePython:frotator-args-fixCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.