Skip to main content
gamedev.net
🔒 Locked

Euler angles from direction

Started by MAB 0 replies 1k views
Original Post
MAB
MAB
Hello,

I have the following problem:

I have direction vector, and need to calculate Euler's angles from it.

I know, how to calc pitch and yaw, but no idea about roll angle.

Thanks in advance.
Trienco
Trienco

Hello,

I have the following problem:

I have direction vector, and need to calculate Euler's angles from it.

I know, how to calc pitch and yaw, but no idea about roll angle.

Thanks in advance.


For the simple reason that a single direction vector isn't telling you anything about roll without having a second vector like right or up.
f@dzhttp://festini.device-zero.de

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.