• Stopped in mid-air by SetAngles
    2 replies, posted
When I use SetAngles() to change an entities angles, it is no longer affected by gravity momentarily and it just hangs there as it turns. Is there a way to stop this happening so it can change angles while it falls?
No idea why that happens, but to counter the stopping, you can do: [lua] local vel = plyphysobj:GetVelocity() <setanglestuff> plyphysobj:SetVelocity(vel) [/lua]
[QUOTE=Donkie;36120743]No idea why that happens, but to counter the stopping, you can do: [lua] local vel = plyphysobj:GetVelocity() <setanglestuff> plyphysobj:SetVelocity(vel) [/lua][/QUOTE] Oh nice, thanks for the answer. :)
Sorry, you need to Log In to post a reply to this thread.