It is in the code. But general high-level wise, there is a set of locations on the server referred to as a CHydraBone that the hydra moves based on AI state. It also does some checks for length of a section as well as collision detection to ensure it doesn't collide into a wall, like at a corner, etc. Then these positions transmit to the client dll. On the client they take the actual model bones and use a Catmull Rom Function to map the model bones to the positions that the server wants to have the hydra posed as. This makes it so the model looks more wavy and less jagged.
There was a bug in hydra that is in sdk that it does not interpolate. It is to do with the fact that none of the LATCH flags were being met when I tested it myself. Animation I assumed due to no animations being run the Cycle would not be changing every update. So I added in I believe PostDataUpdate or something to make a call to latch the animation var manually to force interpolation. This fixed some issues but still the way it shrinks and grows along its spline is not so purdy. Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Sent: Thursday, September 11, 2008 9:26 PM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] hydra What is this mathematics and where can I found out more? On Thu, Sep 11, 2008 at 7:40 PM, Christopher Harris <[EMAIL PROTECTED]> wrote: > 1. Mathematics, NPC can stand anywhere. > 2. Ragdolls, though it looks fugly and should be redone like the strider leg > spear sequence works. > > Chris > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of red box > Sent: Wednesday, September 10, 2008 7:55 AM > To: hl coders list > Subject: [hlcoders] hydra > > maybe some one asks this but I didn't found. > so here is the question: how hydra's animation interpolates to attack npc > which stay in some point, or maybe npc must stay in any paticular point? > and is the npc must have animation when it's capchured by hydra or it's > simply ragdoll? > thank you. > > -- реклама ----------------------------------------------------------- > http://FREEhost.com.ua - доступный хостинг, домен в подарок > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

