Re: [hlcoders] Arbitrary Gravity Direction

2009-10-14 Thread ZuM
Hi, I don't know how to answer this, but there's a mod out that unfortunately i can't remember the name, but the mod was all about changing the orientation of the players, and the gravity, so in one moment you where walking on the wall, and the next on the roof, but the view rotate to look

Re: [hlcoders] Arbitrary Gravity Direction

2009-10-14 Thread Yorg Kuijs
ZuM did you mean Ballmen? Link: http://www.moddb.com/mods/ballmen ZuM wrote: Hi, I don't know how to answer this, but there's a mod out that unfortunately i can't remember the name, but the mod was all about changing the orientation of the players, and the gravity, so in one moment you where

Re: [hlcoders] Arbitrary Gravity Direction

2009-10-14 Thread andy
See this thread for a discussion and partial implementation of arbitrary gravity direction. http://forums.steampowered.com/forums/showthread.php?t=778484 I never got it working entirely right, and gave up on it anyway :) And it never did props. -- This message was sent on behalf of

Re: [hlcoders] Arbitrary Gravity Direction

2009-10-14 Thread Tony Paloma
IPhysicsEnvironment has a function called SetGravity that takes a Vector. You can use it to set an arbitrary direction for gravity, but it will work for VPhysics objects only. I didn't check if this information was in that thread you posted. Sorry if it was. If you have an instance of

Re: [hlcoders] Arbitrary Gravity Direction

2009-10-14 Thread Adam amckern McKern
Its possible, but very hard to get going - though i did not change the view, i did make it so that your movement is dependent on shooting weapons in a ZeroG environment http://www.nigredostudios.com/prime/screenshots/zerog0002.jpg Owner Nigredo Studios http://www.nigredostudios.com

Re: [hlcoders] Arbitrary Gravity Direction

2009-10-14 Thread Joel R.
This is very very possible. Objectives and problems you have to overcome to meet this goal: - Use Quaternions to break Gimbal Locking (happens with Matrix and Euler Angles). You can download a nice set of Quaternion functions from Ogre Engine (free download) and with some slight tweaks

Re: [hlcoders] Arbitrary Gravity Direction

2009-10-14 Thread Ryan Sheffer
You should write a Source SDK Wiki article on your findings Joel, very interesting stuff. :) On Wed, Oct 14, 2009 at 2:23 PM, Joel R. joelru...@gmail.com wrote: This is very very possible. Objectives and problems you have to overcome to meet this goal: - Use Quaternions to break Gimbal