How to make an entity traceable.
I have made some interesting tests and came up with these results.
An entity has this solid flag SOLID_SLIDEBOX (shootable and touchable) After I changed it to SOLID_BBOX the result is this: The entity is still touchable but can not be shot. My question is how to make it shootable/unshootable. From this test it is clear that it does not depend totally on the SOLID flag. |
Re: How to make an entity traceable.
awesome question. i need it too. i want make my discoball breakable/shootable :(
|
Re: How to make an entity traceable.
Quote:
After that set the solid flag to BBOX, give it health, size, everything, and it will work ok. |
Re: How to make an entity traceable.
ty. i got it too with a little search in any of your posts. thanks :P
i wanted to ask how to give health but found this here :P Make grenades shootable |
Re: How to make an entity traceable.
TraceModel is good but I want to make the engine work with them alone.
I want TraceLine to see them. |
Re: How to make an entity traceable.
Try to set model, modelindex, size, solid, and spawn it.
|
| All times are GMT -4. The time now is 22:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.