Facepunch / garrysmod-requests

Feature requests for Garry's Mod
86 stars 24 forks source link

Add Lua binding for LinearMove and AngularMove #2484

Closed A1steaksa closed 1 month ago

A1steaksa commented 1 month ago

It would be very helpful to have Lua bindings for AngularMove and LinearMove

While this functionality can, technically, be triggered using internal variables, that method is obtuse, difficult to use, and requires viewing engine source code in C++ which presents an unnecessary barrier to an otherwise quite useful function.

Additionally, a hook (or entity hook) for the MoveDone and AngularMoveDone events would be very nice.

A1steaksa commented 1 month ago

I’m on mobile, so my ability to find the appropriate classes for this is limited. I believe it originates in CBaseToggle.

robotboy655 commented 1 month ago

Duplicate of https://github.com/Facepunch/garrysmod-requests/issues/1952