• ### What is your GameDev Story?

#### Archived

This topic is now archived and is closed to further replies.

# Quick Matrix question

This topic is 5842 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Can someone correct me on this if i am wrong if A= R*T; when R={r1,r2,r3,0, r4,r5,r6,0, r7,r8,r9,0, 0,0,0,1}; T={1,0,0,x, 0,1,0,y, 0,0,1,z, 0,0,0,1}; then A-1(inverse)=R*T when R={r1,r4,r7,0, r2,r5,r8,0, r3,r6,r9,0, 0,0,0,1}; T={1,0,0,-x, 0,1,0,-y, 0,0,1,-z, 0,0,0,1};

##### Share on other sites
I think you'll find it should be A-1=T*R

You initialiy rotated and then translated. The inverse is undoing this so you first have to translate back before you rotate back. In other words, you do it in the reverse order.

[edited by - joanusdmentia on January 24, 2003 6:19:06 AM]

• ### What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

(You must login to your GameDev.net account.)

• 9
• 34
• 16
• 11
• 11
• ### Forum Statistics

• Total Topics
634122
• Total Posts
3015646
×

## Important Information

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!