That's wierd. FollowEntity in Orangebox follows position, but in the SDK Beta (Orangebox), it follows position and angles.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Minh Le Sent: Sunday, 29 March 2009 1:34 PM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Model Entity attached to play I think the difference between SetParent and FollowEntity is that SetParent will follow the parent's position AND angles. You can also specify it to follow a particular attachment or bone. Just do a search for both functions and you should find some good examples of them being used in the SDK Yaakov Smith wrote: > Well, I've never use setparent, but you can use FollowEntity. For example in > Tony's chatbubble code, he uses: > > pBubble->FollowEntity(this,false); > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Dan Clark > Sent: Sunday, 29 March 2009 12:43 PM > To: Discussion of Half-Life Programming > Subject: Re: [hlcoders] Model Entity attached to play > > Hmm. Right now I am using SetAbsOrigin(playerorigin + offset); So I > can just use SetParent(player)? (pseudo) or Follow Player? > > On 3/28/09, Yaakov Smith <[email protected]> wrote: > >> Or you can use FollowEntity >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Minh Le >> Sent: Saturday, 28 March 2009 1:46 PM >> To: Discussion of Half-Life Programming >> Subject: Re: [hlcoders] Model Entity attached to play >> >> Are you using SetParent? >> I've attached entities to my player via "SetParent" and they don't >> jitter at all. >> >> Olly wrote: >> >>> Is it predicted and you didn't write a client side version? or the client >>> side version isn't the same >>> >>> 2009/3/27 Dan Clark <[email protected]> >>> >>> >>> >>>> I am trying to attach a model entity to a player. I want it to follow >>>> the player in a sense. I have it working but when the player moves, the >>>> entity jitters back and forth. Anyway to fix this? >>>> >>>> -- >>>> Best regards, >>>> Dan >>>> http://www.lnxmad.com >>>> >>>> >>>> _______________________________________________ >>>> 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 _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

