Game Development Community

How do I get the server to animate players!?!?!

by Josh Albrecht · in Torque Game Engine · 09/30/2001 (5:16 pm) · 3 replies

I need the server to animate players so that it wil lhave the correct node transformation matrices. Currently it doesnt not animate players correctly. HOw would I get it to animate teh players?

animateOnServer seems like it should do the trick, but it doesnt seem to work. :( I uncommented the places where it is used. (Why was it commented out in teh first place I wonder...?)

#1
10/03/2001 (11:02 am)
The only uncommented section has to do with transitioning smoothly between sequences, which basically it now only does on the client. It looks like that code should work properly as is. Are you sure your setting the "fps" flag on that animation when you run it?

Can't remember why "animate on sever" is tied to being first person? I wrote that stuff, what? 2 years ago? :(
#2
10/04/2001 (5:21 pm)
Hey, thanks for the response tim!

Actually, I did need the server to animate things (because I needed to have the correct nodeTransforms on the server for my hitboxes.) And animate on server doesnt do the whole job. I had to add some other crazy stuff in the server update functions. But I succeeded in getting the server to animate, and now my hitboxes are truly complete. I will be releasing a tutorial soon, or maybe waiting for the CVS.

The reason you had the firstperson tied to animate on server has something to do with the camera transforms I think, looking at the code... :)
#3
10/04/2001 (8:20 pm)
Cool :) Look forward to seeing it, maybe you can tell what all the "first person" animation stuff is about :)