Moving textdraw without destroying then rebuilding it.
#1

What's in title. Is it possible? I've written some animation easings for textdraws, but with current procedure of moving textdraw by rebuilding it it's unusable.
Reply
#2

Hide it, change its position, show it.
Reply
#3

What if you created another TD at the new location, and THEN destroyed the old one?

Other than that, not sure if there's really a "smooth" way to do it.
Reply
#4

@LarzI: there isn't setposition function available.

@RealCop228: Yup, I've used this technique to create rotating model textdraws (but it was too client cpu intensive)
Reply
#5

You might want to check out y_td, part of the YSI library. AFAIK there's not any documentation on it yet, but if you look at the include you should be able to figure it out.
Reply
#6

Quote:
Originally Posted by Misiur
Посмотреть сообщение
@LarzI: there isn't setposition function available.
Haven't worked with TDs for ages, my apologies.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)