I forgot to say this entity is a "prop", as such it will never rotate or move by itself. I only need to adjust the hullsize based on its angle when I spawn it at map start.
So, you can use HitBoxes for colliding (which can rotate). How to enable it? You need to add flag STUDIO_TRACE_HITBOX to your entity model. How to add it? You need patch the .mdl file: replace 00 00 at 0x88 offset to 00 02. You can try with arcticorange.mdl.
Quote:
Originally Posted by Craxor
he can make SOLID_NOT
What is the purpose of rotating BBOX for not solid entity?
So, you can use HitBoxes for colliding (which can rotate). How to enable it? You need to add flag STUDIO_TRACE_HITBOX to your entity model. How to add it? You need patch the .mdl file: replace 00 00 at 0x88 offset to 00 02. You can try with arcticorange.mdl.
What is the purpose of rotating BBOX for not solid entity?
So, you can use HitBoxes for colliding (which can rotate). How to enable it? You need to add flag STUDIO_TRACE_HITBOX to your entity model. How to add it? You need patch the .mdl file: replace 00 00 at 0x88 offset to 00 02. You can try with arcticorange.mdl.
What is the purpose of rotating BBOX for not solid entity?
Interesting. Anyway you dont have to patch the .mdl, only need to recompile .qc file with additional $flags parameter.