[DirectPython] setTranslation rotation order
Status: Inactive
Brought to you by:
hsalo
From: Gudmundur G. <the...@ho...> - 2008-07-15 23:54:38
|
Hi I'm new to DirectPython and have been testing it for the last few days. I'm running into problems with d3d.setTransform where the rotation of a model around the axises is not happening in the order that I want. Looks like it's XZY or ZXY but I want YZX or YXZ, putting the Y-axis rotation first. Each setTransform overwrites the last one so I can't stack them up. Is there a way to change the order or circumvent this somehow? Also, I wanted roll the eye/camera but couldn't find out how to do it. I can put it somewhere and aim it somewhere but I can't seem to manipulate an up-vector or roll it somehow. Is there a way to do this? Thanks! _________________________________________________________________ Invite your Facebook friends to chat on Messenger http://clk.atdmt.com/UKM/go/101719649/direct/01/ |