[ Unachievable ] Mirroring/Changing sprite angle?
Is it possible to change the sprite/Mirror angle from right to left?
|
Re: Changing sprite angle?
Post your code
|
Re: Changing sprite angle?
I don't need a code for a simple question.
You have a env_sprite entity, wondering if it's possible to change the sprite view from right to left . An example Image https://i.stack.imgur.com/QQlU6.gif Edit : I think it will be solved if I changed the entity scale to negative. I only need to test and give a feedback. |
Re: Changing sprite angle?
Scale with a negative value is mirroring so your idea should work, at least in theory.
|
Re: Changing sprite angle?
an update it doesn't work the sprite gets gigantic when setting the entity scale to -1.0
Test Code PHP Code:
|
Re: Changing sprite angle?
what happens with changing pev_angles?
|
Re: Changing sprite angle?
it doesn't flip like the picture, it rather just rotates around the forward axis
|
Re: Changing sprite angle?
Bump
|
Re: Changing sprite angle?
i would appreciate if anyone have a suggestion to the problem.
|
Re: Changing sprite angle?
Editing the sprite will be faster solutiom
|
| All times are GMT -4. The time now is 14:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.