My objects are disappearing and reappearing
by Anachronistic · in Torque X Platformer Kit · 10/29/2010 (12:42 am) · 3 replies
i've been working on my project and it has been going well except when i created a trigger that activates some platforms i have suddenly had an issue; when i continue through after activating the event the player and many of scene objects disappear. when i progress or move back past a particular area everything re-appears but if i go back into the culprit area the same thing happens.
here is a link to a video showing the issue:
http://www.youtube.com/watch?v=TDSaQzcsXmg
any suggestions would be greatly appreciated as i am stumped.
here is a link to a video showing the issue:
http://www.youtube.com/watch?v=TDSaQzcsXmg
any suggestions would be greatly appreciated as i am stumped.
#2
10/29/2010 (2:41 am)
T2DSceneCamera c = TorqueObjectDatabase.Instance.FindObject<T2DSceneCamera>(); c.FarDistance = 50000f;Try adding something like that after you load your level. It may fix it.
#3
we managed to fix it. somehow it was created by having a re-spawning pickup. stumped me as to how and why that caused it but torque has done that often.
i think i'll add those lines anyway as a kind of a fail safe.
10/29/2010 (8:54 am)
Thanks for the reply!we managed to fix it. somehow it was created by having a re-spawning pickup. stumped me as to how and why that caused it but torque has done that often.
i think i'll add those lines anyway as a kind of a fail safe.
Torque Owner Anachronistic
we have narrowed it down somewhat and now understand that it is making everything that isn't a tilemap invisible. all properties remain on the objects you just can't see them