Getting a trace to hit a non solid entity
Hey, I've a question about trace.
As is in the title, Is it possiable to make a TraceLine and getting the trace to hit a non solid entity? I'm curious to know that, :s Can any pros answer me? Thanks. |
Re: Getting a trace to hit a non solid entity
Normally traceline wont catch non solid entity but if you make entity solid and skip one frame then do traceline, again skip one frame and make entity non solid again.
That is the only way i know. |
Re: Getting a trace to hit a non solid entity
You don't need to skip a frame, just send SetOrigin or SetSize with its current origin or size and that entity gonna be linked to the world.
So : set solid set again origin do trace set unsolid set again origin to prevent any touch thing. |
| All times are GMT -4. The time now is 16:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.