Dynamic Entity

How can I create a solid entity that has no model, by this I mean I change change it to any size, and also apply any texture.

Are you saying you want to be able to change model,texture,size,everything?

Basically I want to make an entity that I can change change it’s size to block various size wholes/door openings.

Do you mean a solid entity like a brush entity like player_clip? In which case, I’m not sure if that can be done in the Lua. I feel like most of those kind of things are placed into the map at compile time.

Maybe you could just create a point class entity, like a prop_dynamic. A model with a transparent texture.

What do you need this for anyway?

For the physics part
**[Entity.PhysicsInitBox

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Entity.PhysicsInitBox)**

For the rendering part
**[IMesh

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=IMesh)**

To make a new mesh you simply call the global function NewMesh()