Send-to-mount flicker
by Jason McIntosh · in Torque Game Builder · 05/27/2005 (9:04 am) · 4 replies
When creating a new sprite and mounting it to an object with 0 force (rigid mounting), the sprite appears in the middle of the screen for 1 frame, and then snaps to the position of the mounted object on the next frame. Is there any way to avoid this flicker and have the object go to the mount position instantly?
I know I can set the object's position to the same position of the mounted object when created, but considering mount offsets, this still causes visible flicker when the object adjusts position the next frame, although it is less obvious.
I know I can set the object's position to the same position of the mounted object when created, but considering mount offsets, this still causes visible flicker when the object adjusts position the next frame, although it is less obvious.
About the author
#2
05/27/2005 (6:24 pm)
I could just set the alpha to 0 to make it invisible, but I was hoping there was a better or more "automatic" way to handle this. Thanks for the reply. :)
#3
Thanks,
- Melv.
05/28/2005 (1:29 am)
I'll check this out to see if there's a problem with SendToMount and get back to you.Thanks,
- Melv.
#4
Can you produce a small piece of script that would duplicate this problem with two objects that would run in the stock SDK?
I'm not seeing this effect and I'd like to see what conditions it might show itself.
Thanks,
- Melv.
05/28/2005 (7:13 am)
Jason,Can you produce a small piece of script that would duplicate this problem with two objects that would run in the stock SDK?
I'm not seeing this effect and I'd like to see what conditions it might show itself.
Thanks,
- Melv.
Torque 3D Owner Joseph Albon
If using SetVisible doesn't work, what about using an imageMap with a transparent image and then changing it to the correct image after mounting.