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...?)
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...?)
#2
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... :)
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 :)
Torque Owner Tim Gift
Can't remember why "animate on sever" is tied to being first person? I wrote that stuff, what? 2 years ago? :(