Game Development Community

Advanced Camera, AI disappear

by Christopher Evans · in Torque Game Engine · 01/21/2009 (5:06 pm) · 2 replies

I just added the Advanced Camera Mod to my game. When I race against some AI player they become invisible. Some time at the start of the race or when they go behind a mountain.

When they disappear, if I go into the world editor I see the little red dots that show where they are at but I can't see the model.

When I take out the script code for the AdvCamera and use the original camera I no longer have the issue of the AI disappearing.

I am guessing that the AI vehicles are out of scope and that is why I can't see them. But I don't understand why. Or how to fix it.

#1
01/22/2009 (9:08 am)
I have a hack to fix this. For each AI vehicle I add to the game, I scopeToClient for every player in the game. If I understand how this works I just increase the amount of bandwidth I need for the game. :(

Does anyone have a better fix for this?
#2
01/22/2009 (9:12 am)
Global Bounds might be what you want.