--
[ Picked text/plain from multipart/alternative ]
Like i said in the chat; the only thing i can think of is that it's bone
merging, even though you told it not to, it may not be merging, but rather
ignoring the position that you're specifying and going to the players origin
on the client or something. when i get a chance i'll take a look and see if
i can come up with a solution for you, unless someone else does before me.
-Tony


On Jan 16, 2008 8:40 PM, Garrett <[EMAIL PROTECTED]> wrote:

> --
> [ Picked text/plain from multipart/alternative ]
> Right now, I'm currently doing:
>
> Vector pos;
> QAngle angles;
> int bone = pPlayer->LookupBone( "ValveBiped.Bip01_L_Clavicle" );
> pPlayer->GetBonePosition( bone, pos, angles );
>
> To get an origin close to where I want, but the scientist still seems to
> end up stuck in the player's feet.  The LookupBone is returning a valid
> result, so the GetBonePosition shouldn't be defaulting to the player's
> origin or whatever it defaults to.  Although, I don't know for sure if this
> might skew the apparent results, but I'm viewing this from a third person
> camera of my player.
>
> Garrett
>
> ----- Original Message ----
> From: Jed <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Wednesday, January 16, 2008 4:55:49 PM
> Subject: Re: [hlcoders] Attaching models to player
>
>
> I think you need to either add an attachment to the player model at
> the shoulder and lookup  the origin of that or look-up the origin of
> the specific bone in the player model.
>
> I think whats happening is you just getting the players default origin
> which is is on the ground between their feet.
>
> - Jed
>
> On 16/01/2008, Garrett <[EMAIL PROTECTED]> wrote:
> > --
> > [ Picked text/plain from multipart/alternative ]
> > Hi,
> > So I haven't been having much luck with getting something remotely
>  close to what I want happening to work.  Basically, I'm trying to attach
>  the Kleiner model to the shoulder of the player model.  I found out
>  from Tony that I should do a FollowEntity( pPlayer, false ) and set the
>  origin and angles of the model before I call FollowEntity.
>  Unfortunately, no matter where I set the origin of the entity, the feet
> of the model
>  are always stuck at the feet of the player model.  I'm still kind of
>  confused as to how FollowEntity works, and if I should be using that on
>  the client or server.  My ultimate goal would be to have the Kleiner
>  model's hip area appear to be stuck to the player's shoulder, and have
>  the model be a client side ragdoll, since the model is supposed to be
>  hanging limply over the player's shoulder (if you've ever played Science
> &
>  Industry, this is the part where you have the players carrying the
>  scientists).  But for right now, I would be
> >  satisfied just to get the model unstuck from the player's feet and
>  in a position of my liking.
> >
> > Any help would be appreciated,
> > Garrett
> >
> >
> >
> >
> >
>
>  
> ____________________________________________________________________________________
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile.  Try it now.
>  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> > --
> >
> > _______________________________________________
> > 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
>
>
>
>
>
>
>
>
>  
> ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page.
> http://www.yahoo.com/r/hs
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


--
-omega
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to