Page 1 of 1
How do I make the Bark text flip horizontally when the enemy flips as well?
Posted: Wed Aug 09, 2023 1:52 pm
by totosavi
Hi everyone! I'm currently facing this problem that when the enemy flips horizontally to face the player, the Bubble Template Standard Bark UI doesn't flip along with the enemy. Does anyone know how I can solve this problem?
Re: How do I make the Bark text flip horizontally when the enemy flips as well?
Posted: Wed Aug 09, 2023 2:56 pm
by Tony Li
Hi,
How are you flipping?
If you're setting a Sprite Renderer's Flip > X value, it won't affect child objects.
If you're rotating the enemy 180 degrees, add an Always Face Camera component to your bark UI. (The default Bubble and Basic Standard Bark UIs already have this component.)
If you're negating Scale > X, also negate the bark UI's Scale > X.
Re: How do I make the Bark text flip horizontally when the enemy flips as well?
Posted: Wed Aug 09, 2023 3:13 pm
by totosavi
Aw thank you again Tony! The problem is now fixed
Re: How do I make the Bark text flip horizontally when the enemy flips as well?
Posted: Wed Aug 09, 2023 3:38 pm
by Tony Li
Glad to help!