Skip to main content
gamedev.net
🔒 Locked

Matrix rotation

Started by Agemaniac 0 replies 550+ views
Original Post
Agemaniac
Agemaniac
Hi, i have a question that is bothering me for 1 week. I have a rotation matrix and want to remove rotation around one axis. ok... the problem is that i just to remove an rotation in world space and not in body space. Supose i have a matrix..with a rotation. I just wanna the body to be pointing paralel to the ground. (FRONT vector with Y == 0)). it seen to be simple..but it is not...setting it front manually to (X,0,Y) for example doesnt work. Is there a way to do this?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.