How to clip spawned model?


(Panzer III) #1

Hello,
Does anybody know how to clip spawned model , without using BrushModels?
I know there players and Grenade’s dosen’t need brushmodels to be “psychical objects”
Any help is welcome!


(bani) #2

ent->r.mins / r.maxs

don’t forget ent->clipmask and ent->r.contents


(Panzer III) #3

Thank you for answer, but it doesen’t helped.
Still Bullets and Player can go thru this g_entity.
I looked into mg42_spawn in G_misc, and even if i copied gentity settings , i met with same results.


(zinx) #4

make sure you trap_LinkEntity() after you change that kind of stuff too… but don’t do it too much, it’s expensive.