💬

Community answer

Collected from the ACE community Discord archive around 2023-02-24. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Removing an entity's shadow

🔫 WeaponsUpdated 2 days ago•0 views
ent:setDrawShadow(false) only disables sun shadows - dynamic light shadows (flashlight etc.) are still cast. For no shadows at all use ent:setNoDraw(true) (but …

How to stop a prop/hitbox from casting a shadow (setDrawShadow doesn't fully work)

ent:setDrawShadow(false) only disables sun shadows - dynamic light shadows (flashlight etc.) are still cast. For no shadows at all use ent:setNoDraw(true) (but it won't network/render at all, physgun beam passes through), or set an invisible material like particle/warp1_warp.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.