Page 1 of 1
how to reset a entity's rotation
Posted: Mon Mar 06, 2006 1:12 am
by xenopsyx
RotateEntity() is like MoveEntity().
I want to find some Rotation Function that set x,y,z like EntityLocate().
can you help me?
Posted: Mon Mar 06, 2006 7:16 am
by dontmailme
Yes,
RotateEntity(ENT, ang, #ABSOLUTE) or similar would be nice, so would GetEntityRotation(ENT), but they are not present!
For now you have to store the current rotation in a variable so you can restore the rotation when you need it
Hopefully, Fred will bridge the gap soon

Posted: Mon Mar 06, 2006 10:19 am
by Fred
In v4, it's now absolute.