Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Direct3D model transformation
I'm an newbie at c# Direct3D programming. I made an mesh shuttle and loaded it onto screen but it won't yaw pitch and roll itself.
I used the device.translate.world = Matrix.RotationYawPitch... thingy but if the shuttle is rotated its also supposed to turn in the other axis in order to yaw.
I hope its clear. Its always supposed to lower its nose when it pitches. But when its turned 90 deg its rolling because its still turning around the Z-axis.
Thank you very much.
0 · ·