I want to make it so when you spawn the entity, it drops to the floor. Because I have it so you can't move the entity.
I'm trying something like this, but it isn't working.
[code]
self:SetPos(self.Position - Vector(0,0, min.z))
[/code]
Is there a way to check for the bottom of the entity, to the ground.
Try [lua]self:DropToFloor()[/lua] Assuming self is the entity, of course
Sorry, you need to Log In to post a reply to this thread.