-
-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds in some improvements and fixes to emotes #6387
Conversation
f50c790
to
473a26d
Compare
I've tested everything and made sure everything works across all clients. P,S: I've enabled the surrender Emote since all of it's issues has been fixed + you can now stand up after laying down. |
Bonus Fix! Bonus Fix! Come get your bonus fixes! Fixed another issue where ActionTexts get rotated. They no longer will. |
I'll wait for Giles |
looks good, don't know if the text rotation thing works or if it is a good solution. It is setting a right rotation every frame, maybe the actual solution would be searching what is rotating it and make sure that doesn't happen. |
It is the best solution that doesn't introduce more issues from my testing and it always stays at 0 no matter what. Changing the transform's parent or playing around with freezing the rotation of the action text through other means causes the text to disappear completely, get stuck in its original place or gitter/delaying while moving. |
Well I first would wonder why is it rotating. Without looking at any code, I could throw a guess about how the crawling effect is applying rotation to the whole player game object instead of the sprite and since the text is following a transform inside the player game object, it rotates. If that's the case, then the real solution is to make crawling only rotate the sprite game object. |
I did investigate that and apparently not, the game isn't rotating the player's object it's rotating it's sprites. Either way consider this future proofing so that the action text never gets rotated again for any reason when we decide to actually rotate the player gameObject himself. |
This is finally it. time to merge. |
Purpose
Part of #6276 and should two issues in fix an issue in #6195
Adds in an improvement I've suggested me and gillies a while ago to make crits check available in the base EmoteSO script + added in a check for some emotes to avoid them from doing backflips while crawling + fixes an issue where the player becomes upside down while surrendering and crawling at the same time.
Notes:
Requires testing by other people on more than one client, pls.
Changelog:
CL: Fixed an issue where players become upside down when surrendering.
CL: You will no longer be able to do some emotes like backflips while crawling.
CL: Critical condition texts are no longer exclusive to gendered emotes, all emotes use them now.
CL: ActionText will no longer get rotated.