Forum breadcrumbs - You are here:ForumCommunity Boards: Hammer and ModdingSetVelocity() on non-player
SetVelocity() on non-player
Goldenknighttim@goldenknighttim
182 Posts
#1 · December 4, 2014, 3:17 pm
Quote from Goldenknighttim on December 4, 2014, 3:17 pmHey guys,, does anyone know if there is a way to use the SetVelocity() function on an object that isn't the player? I'm trying to use it on a turret, but it's not working. I printl() GetVelocity() and it shows the velocity I set, but turret itself doesn't move. I think it's physics is overriding anything I set. Is there a way to make the velocity I set a higher priority?
Hey guys,, does anyone know if there is a way to use the SetVelocity() function on an object that isn't the player? I'm trying to use it on a turret, but it's not working. I printl() GetVelocity() and it shows the velocity I set, but turret itself doesn't move. I think it's physics is overriding anything I set. Is there a way to make the velocity I set a higher priority?
Click for thumbs down.0Click for thumbs up.0