Does mounted objects automatically get visible? [closed]
by Max Kielland · in Torque Game Builder · 02/08/2013 (3:53 pm) · 1 replies
I have a cursor sprite and in some game modes I mount another static sprite to the cursor sprite. So far everything is fine.
Then I hide the mounted sprite (Visible = false) and then hide the cursor sprite. When I show the cursor sprite the mounted sprite is visible as well, even if it Visible was explicitly set to false before.
Can some one confirm if I show a sprite, all mounted sprites will also be shown, and to do what I want I need to destroy and recreate the mounted sprite to control its visibility.
Then I hide the mounted sprite (Visible = false) and then hide the cursor sprite. When I show the cursor sprite the mounted sprite is visible as well, even if it Visible was explicitly set to false before.
Can some one confirm if I show a sprite, all mounted sprites will also be shown, and to do what I want I need to destroy and recreate the mounted sprite to control its visibility.
About the author
Owner of MK Development www.mkdevelopment.se
Torque Owner Max Kielland
MK Development