Open jcwik223 opened 7 years ago
Yes. Torque is so needed. The current method is probably 100x slower.
Added PhysObj.ApplyTorqueCenter( Vector/AngularImpulse ) Added PhysObj.GetShadowPos() = Vector Added PhysObj.GetShadowAngles() = Angle Added PhysObj.GetVelocityAtPoint( Vector ) = Vector Added PhysObj.SetContents( uint ) Added PhysObj.GetContents() = uint
I'm currently working on some projects that heavily involve physics objects (portal-esque gun, Lua grav and physguns) and I'm a bit stuck without a few of these methods. I put the more important ones at the top.
// AddAngleVelocity seems to treat the addition as an applicative force and is not set immediately which is why I'm guessing the Instantaneous version exists