Game Development Community

Accessing nodes in player directly

by Jeff Ridenour · in Torque Game Engine · 04/25/2005 (2:43 am) · 1 replies

I'm working on a project where i would like to have network messages animate directly the nodes of a player object, waving its arms about etc. I want to try not to use a standard animation, but simply manipulate the node rotation matrixes procedurally.

I presume i can manage this using getTransform and setTransform. My question is, how do i get a handle on an individual node (like the elbow node), given a player instance?

#1
04/25/2005 (3:22 am)
Have you looked at the custom shape mod? It's best feature IMHO isn't necessarily the fact that you can resize each bone, but that you can directly call a few various functions on individual bones on a particular player, and then have that change ghost, so all the other players can see it.

Shouldn't be too hard to modify that code to do what you need.