Game Development Community

Performance issue

by Chris Labombard (TGEA License) · in Torque Game Engine Advanced · 04/28/2006 (1:39 pm) · 22 replies

I added AIGuard to my TSE project and when I add a guard to the mission I get a massive performance hit.

The guard and my player both use the spaceOrc.

Ive used the profiler to narrow down what's causing the issue and it is

void Player::updateWorkingCollisionSet()

specifically, this line:

mConvex.updateWorkingList(mWorkingQueryBox,
isGhost() ? sClientCollisionContactMask : sServerCollisionContactMask);

This is what the profiler says when I start a profiler block around just that one line of code.

Quote:
Ordered by non-sub total time -
%NSTime % Time Invoke # Name
120.412 120.820 218 Player_updateworkingCol

Can someone please suggest how I might fix this problem?

About the author

Recent Threads

Page«First 1 2 Next»
#21
05/09/2006 (8:00 am)
That's one of the optimizations Brian Ramage is working on right now (TSShape rendering doesn't batch at all, plus a couple of other tricks he's working on).
#22
05/09/2006 (8:01 am)
Quote:
What kinda time frame is expected on Brian's optimizations? Is this a next Milestone thing, or are they going to be in the CVS soon?
Page«First 1 2 Next»