Team Spartan Cookies & Milk Forums
Perhaps Entity:setAngVel() ? - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Feedback (https://teamscm.co.uk/forum-9.html)
+--- Forum: Suggestions and improvements (https://teamscm.co.uk/forum-11.html)
+--- Thread: Perhaps Entity:setAngVel() ? (/thread-3011.html)



Perhaps Entity:setAngVel() ? - The17thDoctor - 28-05-2019

Could be nice to have an option to set an Angular Velocity on an entity in order to save quota.


RE: Perhaps Entity:setAngVel() ? - Person8880 - 29-05-2019

I've added PhysObj:addAngleVelocity() which allows you to modify the angular velocity of any entity with physics. Unfortunately GMod doesn't expose a set method for it.

The only other option is local angular velocity (which holograms use), but that requires either a parent or special handling (and no physics object) to get it to work which isn't practical for all entities.