Join GitHub today
Added get/setElementAngularVelocity #73
Applying the angular velocity on peds cause weird side-effects, which might not be desirable: https://www.youtube.com/watch?v=_eiS_UA_DQU
Applying the angular velocity on objects is weird, because they don't work unless the object has any kind of positional velocity on them (a value of 0.0001 would be enough) and the angular velocity decreases after time, but positional velocity doesn't.
I need feedback on this.
@Necktrox with high velocity values usually something cause weird effects, mostly with upside peds.
As we known the objects behaves as frozen when their linear velocity is zero. So do you suggest to apply a bit linear velocity when applying some angular velocity for the defrost effect?
Tested! Looks amazing and I can see many, many possibilities here. There are a few code tweaks to be done, however. Needs more commenting for deprecation and is missing a client/serverFunctionInitList entry. Refer to #243 for further details on deprecation.