First of all, thank you for your input
Second, I tried this already several times and it indeed works which I knew afront as well but if seems that the rotation afterwards isn't quite accurate anymore when the tilt/roll/pan value of the enitity changes
I'm trying to make an entity rotate while standing on a wall so when the normal.z equals 0 and tilt equals 90 or -90 degrees.But I think I'll mesh around with ang_rotate abit more ^^
Btw, 'temp' is a predefined variable such as 'player'. 'Temp2' is a vector I used for putting through the angle towards the entity. 'My' is a predefined pointer I use for this entity.
Thanks in progress
Frazzle