FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

FRotator arguments order should be pitch, yaw, roll instead of roll, pitch, yaw by F0x06 · Pull Request #718 · 20tab/UnrealEnginePython · GitHub

Repository navigation

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

Open
F0x06 wants to merge 1 commit into
20tab:masterfrom
F0x06:frotator-args-fix
Open

F0x06 wants to merge 1 commit into
20tab:masterfrom
F0x06:frotator-args-fix

Conversation

F0x06 commented May 3, 2019

Copy link
Copy Markdown

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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL