Game Development Community

T3D Animation Render Problem

by beyond · in Torque 3D Professional · 02/24/2010 (12:34 pm) · 8 replies

Hi….,

I have problem in render animations



How can I solve this problem? Please, I'm waiting for your help.

#1
02/24/2010 (12:49 pm)
please explain your problem in detail. we cant tell just by looking at the video. how are you animating gideon?
#2
02/24/2010 (12:58 pm)
Is that just lag?
#3
02/24/2010 (1:02 pm)
It's nothing special, usual run animation of Gideon , problem in jamming animations and sliding on border and center of the screen. No lag empty scene it's on local mashine, on sever it's getting worse.
#4
02/24/2010 (1:21 pm)
So the problem is actually the bots following the looping path, stopping at a node and then quickly moving to the first node to begin again while in the root animation correct?

Does this happen when you only have one bot on the path?
#5
02/24/2010 (1:40 pm)
Only 4 nodes on the path and it happen without path too. It seems to me that the server sends a command to play animation and the client is not in time render it.
#6
02/24/2010 (1:51 pm)
Still think that's lag, each one of those Gideons' is 10K tris and they're all doing an AI routine plus all playing the animations = disjointed netpackets.

If you have not already try upping your packets' rate and size to 32 and 450 (or 900) respectively. note: online older dialups will have problems with this change.
#7
02/25/2010 (4:57 am)
To start Gideon moving the way I used the standard AI - without any changes. (Game / scripts / server / aiPlayer.cs)
For this, I uncomment in file "gameCore.cs" in the function "GameCore:: startGame" the following lines:
new ScriptObject (AIManager) (); 
    MissionCleanup.add (AIManager); 
    AIManager.think ();
and repeats them 18 times. Conclusion: I have 18 Gideons runing down the path, consisting of 4 markers .
As can be seen on video, on the edges of the screen there is Gideon's "jerking" . But boundingBox moves smoothly - without jerks.
Render does not have time draws moving Gideon for his boundingBox. Video shoted on a locally running game.

#8
02/25/2010 (6:56 am)
So these three lines are repeated 18 times?

new ScriptObject (AIManager) (); 
    MissionCleanup.add (AIManager); 
    AIManager.think ();

Try deleting 17 of them. Having 18 different AIManagers with their own think functions is very likely the cause of the problems you're seeing.