So i’m trying to make a fire entity. When a player walks within its bounds, they are ignited.
I have it working more or less, but the bounds are not proper. I’ve been fucking with debugoverlays and they don’t seem to make any sense of my situation.
The SENT is not a brush entity.
ENT.Bound = 150
self.Entity:SetModel( "models/Roller.mdl" ) //remove this self.Entity:SetMoveType( MOVETYPE_NONE ) self.Entity:SetSolid( SOLID_VPHYSICS ) // should this be vphysics? self.Entity:SetCollisionGroup( COLLISION_GROUP_DEBRIS ) self.Entity:SetCollisionBounds( Vector( -self.Bound, -self.Bound, -self.Bound ), Vector( self.Bound, self.Bound, self.Bound ) ) self.Entity:SetTrigger( true ) self.Entity:DrawShadow( false )
The bounds ingame seem way too small for the size of its collision bounds…