I think this is best done with a Physics Motion Controller, but I may be wrong 
:>

Chris

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of coderdude
Sent: Wednesday, February 06, 2008 11:31 AM
To: [email protected]
Subject: [hlcoders] snapping objects to a specific position

How do I calculate the torque needed to move an object to it's goal position? 
How to change the rotation axis of a phys object? will 
PhysSetMassCenterOverride() do the job? I want the object to point a specific 
direction, but fail on extreme conditions (obstacle), I looked at 
ComputeRotSpeedToAlignAxes() but I don't know the parameters. Are they normals 
which show the desired, then current alignment? Or maybe the other way around? 
Local or world space?

Dam, it's hard to use APIs when you don't know what they do :/

_______________________________________________
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