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 VPHYSICS_INTERFACE_VERSION, you can get the
environment by:
pPhysics->GetActiveEnvironmentByIndex(0);

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, October 14, 2009 6:39 AM
To: [email protected]
Subject: Re: [hlcoders] Arbitrary Gravity Direction

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 [email protected] at openSubscriber.com
http://www.opensubscriber.com/message/[email protected]/129248
43.html

_______________________________________________
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

Reply via email to