Raised This Month: $ Target: $400
 0% 

Getting a trace to hit a non solid entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vip-colgate
Junior Member
Join Date: Jan 2010
Location: Game World
Old 05-17-2013 , 13:40   Getting a trace to hit a non solid entity
Reply With Quote #1

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.

Last edited by vip-colgate; 05-17-2013 at 13:52.
vip-colgate is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 05-17-2013 , 15:11   Re: Getting a trace to hit a non solid entity
Reply With Quote #2

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.
.Dare Devil. is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-17-2013 , 16:48   Re: Getting a trace to hit a non solid entity
Reply With Quote #3

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.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 05-17-2013 at 16:48.
ConnorMcLeod is offline
Old 05-18-2013, 11:40
11922911
This message has been deleted by 11922911.
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode