Welcome,
Guest
. Please
login
or
register
.
March 23, 2025, 09:50:14 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
NGUI Hud Text UI Follow Script problem
« previous
next »
Print
Pages: [
1
]
Author
Topic: NGUI Hud Text UI Follow Script problem (Read 1606 times)
rbattagline
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 2
NGUI Hud Text UI Follow Script problem
«
on:
May 30, 2014, 07:07:31 PM »
I have a health bar and an energy bar following a character, but the health bar is not perfectly following the character. It will shift by a pixel or two. The Energy bar doesn't have that problem, but from what I can tell I'm doing the exact same thing for the two bars.
Here's a link to a youtube video of the problem:
https://www.youtube.com/watch?v=CnP5DbR6u7o&feature=youtu.be
Any idea what the problem is?
Thanks,
Rick
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: NGUI Hud Text UI Follow Script problem
«
Reply #1 on:
May 31, 2014, 12:43:19 PM »
Why not have only one UIFollowTarget script, with both health bars being children underneath?
Logged
rbattagline
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 2
Re: NGUI Hud Text UI Follow Script problem
«
Reply #2 on:
May 31, 2014, 02:42:34 PM »
That seems to have fixed the issue.
Thanks
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
NGUI Hud Text UI Follow Script problem