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.
Can someone please suggest how I might fix this problem?
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?
#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?
Torque 3D Owner Stephen Zepp