SetMoveType() on weapons defaults back after a few seconds.
2 replies, posted
For the last little while I've been trying to create weapons and make them float in the air with
ent:SetMoveType(MOVETYPE_NOCLIP)
However, several seconds after they spawn, the weapons move back into default physics. This doesn't happen when I spawn prop_physics and change their movetypes, or with any other entity class I've tried.
I could find a workaround, but I'd rather not waste the resources, so does anyone have any idea why it does this, or a very simple fix?
Have you tried MOVETYPE_FLY or ent:EnableGravity(false)?
MOVETYPE_FLY was successful, thanks. :)
Sorry, you need to Log In to post a reply to this thread.