Re: [hlcoders] Wierd Chatbubble problem

2009-03-22 Thread Yaakov Smith
st.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Andrew Ritchie Sent: Monday, 23 March 2009 12:11 AM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Wierd Chatbubble problem You could just zero out the pitch component of the look vector. On Sun, Mar

Re: [hlcoders] Wierd Chatbubble problem

2009-03-22 Thread Andrew Ritchie
You could just zero out the pitch component of the look vector. On Sun, Mar 22, 2009 at 10:15 AM, cheeseh-bu wrote: > changing the offset should do it as previously stated, however you want it > to be above the players head, therefore you use the Z axis not the X axis > > Vector offset = GetAbsO

Re: [hlcoders] Wierd Chatbubble problem

2009-03-22 Thread cheeseh-bu
changing the offset should do it as previously stated, however you want it to be above the players head, therefore you use the Z axis not the X axis Vector offset = GetAbsOrigin() + Vector(0,0,92); this will set the origin for the bubble 92 units above the players ('centre') of origin. Also this

Re: [hlcoders] Wierd Chatbubble problem

2009-03-21 Thread Yaakov Smith
AM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Wierd Chatbubble problem I'm no expert by any means, but wouldn't Vector(1,0,0) * 92 just create a vector and then multiply it by 92, using CPU power unnecessarily? Couldn't it just be Vector(92,0,0) initially and not was

Re: [hlcoders] Wierd Chatbubble problem

2009-03-20 Thread Kyle K
t; -Original Message- > From: hlcoders-boun...@list.valvesoftware.com > [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Yaakov Smith > Sent: Friday, March 20, 2009 2:20 AM > To: 'Discussion of Half-Life Programming' > Subject: Re: [hlcoders] Wierd Chatbu

Re: [hlcoders] Wierd Chatbubble problem

2009-03-20 Thread Christopher Harris
Er lol I mean Vector( 1, 0, 0) -Original Message- From: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Yaakov Smith Sent: Friday, March 20, 2009 2:20 AM To: 'Discussion of Half-Life Programming' Subject: Re: [hlcod

Re: [hlcoders] Wierd Chatbubble problem

2009-03-20 Thread Christopher Harris
:20 AM To: 'Discussion of Half-Life Programming' Subject: Re: [hlcoders] Wierd Chatbubble problem Anybody? It seems to be rotating around the players origin, relative to where the player is looking. From: Yaakov Smith [mailto:m4ngr...@gmail.com] Sent: Wednesday, 18 March 2009

Re: [hlcoders] Wierd Chatbubble problem

2009-03-19 Thread Yaakov Smith
Anybody? It seems to be rotating around the players origin, relative to where the player is looking. From: Yaakov Smith [mailto:m4ngr...@gmail.com] Sent: Wednesday, 18 March 2009 4:56 PM To: 'Discussion of Half-Life Programming' Subject: Wierd Chatbubble problem I'm implementing the chatbu

[hlcoders] Wierd Chatbubble problem

2009-03-17 Thread Yaakov Smith
I'm implementing the chatbubble in the OB SDK beta, but I ran into a slight problem. When the player is looking down, the bubble is in front of them rotated to what I guess is the players origin. When the player is looking up, the bubble is behind them, rotated as above. How do I get it to