Discord
Steam
/
Garry's Mod
/
Developers
/
freezing an en..
Login/Join
Event Log
freezing an entity
3 replies, posted
Search
In This Thread
how can i freeze an entity using lua
[lua]local po = ent:GetPhysicsObject() if po and po:IsValid() then po:EnableMotion(false) end [/lua]
Alternatly [lua] ent:SetMoveType(MOVETYPE_NONE) [/lua]
thank you very much! it works now.
Sorry, you need to
Log In
to post a reply to this thread.