Entity Rotating
Hello there !
I need to rotate an entity around his origin to say like this ... I don't want to rotate the 'entity', the 'model'( which is an entity made in VHE, for example a cilinder, or a box or a door ). The rotation should be like an helicopter's propeller. Can you help me ? I tried a lot of things with angles but .. nothing. Thanks ! |
Re: Entity Rotating
Not sure to fully understand, but to rotate an entity, generally you would use pev_avelocity.
|
Re: Entity Rotating
Quote:
Example: PHP Code:
|
Re: Entity Rotating
Quote:
If i use ANGLES, the entity rotates on a circle to say like that. It orbits an axis that isn't the middle of the entity to say like that. I want to rotate the entity, to orbit around his origin. I'll try pev_avelocity. LE : With : PHP Code:
Yes, with EV_VEC_angles it's rotating but the origin is changed with each += 1.0 ... i want to stay in that origin and just rotate with angle.. LE2 ; To explain better, il took the solar system. For example : The earth is rotating around his axis. But the earth is rotating too around the sun. So : The rotation with EV_VEC_angles it's just like the Earth around the Sun. I just want to rotate the entity around his axis( like the Earth around his axis ). |
| All times are GMT -4. The time now is 06:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.