Einzelnen Beitrag anzeigen

Benutzerbild von JasonDX
JasonDX
(CodeLib-Manager)

Registriert seit: 5. Aug 2004
Ort: München
1.062 Beiträge
 
#2

Re: Winkel in Position Umrechnung in 3D

  Alt 21. Aug 2006, 13:26
Das ganze sollte mit Rotationsmatrizen zu loesen sein
Ansonsten koennte der haendische Weg so laufen:
Code:
//Rotation um Y
x' = cos(yaw)
z = sin(yaw)
//Rotation um Z
x = cos(roll)
y = sin(roll) * x'
pos = (x, y, z) * d
Wenn ich mich nicht ganz taeusche...

greetz
Mike
Mike
Passion is no replacement for reason
  Mit Zitat antworten Zitat