C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2720
Number of posts: 5746

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Direct3D model transformation Posted by cbr400aero on 18 Jul 2004 at 11:32 AM
Hey,
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. :)




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.