Tasharen Entertainment Forum

Support => Other Packages => Topic started by: leegod on September 30, 2014, 07:06:46 AM

Title: HUDText - HUDRoot object need rigidbody?
Post by: leegod on September 30, 2014, 07:06:46 AM
Your sample uses rigidbody at hudroot object, but why and is it needed?

Title: Re: HUDText - HUDRoot object need rigidbody?
Post by: ArenMook on October 01, 2014, 05:40:08 PM
It's a Unity thing. Moving colliders is expensive. Moving rigidbodies is cheap.
Title: Re: HUDText - HUDRoot object need rigidbody?
Post by: leegod on October 01, 2014, 08:43:15 PM
It's a Unity thing. Moving colliders is expensive. Moving rigidbodies is cheap.

How about no rigidbody? Then no cost.
Thx.
Title: Re: HUDText - HUDRoot object need rigidbody?
Post by: ArenMook on October 02, 2014, 11:29:15 PM
No rigidbody means you're moving colliders. That's expensive.

If you have no colliders, then it's fine -- you don't need anything.