View Single Post
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 11-07-2021 , 23:17   Re: Entity rotation around an arbitrary axis
Reply With Quote #6

Quote:
Originally Posted by JocAnis View Post
yeah can you test with changing other axis? how i remember, these axis are messed up, meaning its not rotating like we think in the real world...im not 100% sure
The game axis is off from real world. Testing the other axes is reasonable.

Quote:
Originally Posted by Natsheh View Post
Actually its called roll ( around the x angle )
If one of the 3 does not do what you thought. There 2 axes left.


Likely need to do more than 1. Adjust both Yaw and Roll or whatever whenever ever so gradual to make it realistic veering in flight, take off and landing.
Copying from existing vector automates this.
Copy angle from vector.
entity_get_vector(ent,EV_VEC_angles,Axis);


Do you need, the vectors, the angles, or both? In other words. Does it fly as imagined and look off or is it not moving where controlled to go?
__________________
DJEarthQuake is offline