Trace function question

Discussions about Coding and Scripting
Post Reply
Torax
Adept
Posts: 406
Joined: Fri Apr 20, 2012 6:38 pm
Personal rank: Master of Coop
Location: Odessa, Ukraine

Trace function question

Post by Torax »

Is it possible to force simple trace function to check, is it's EndTrace location inside or outside level surface? Or are there any other alternative ways?
Unreal. Alter your reality..forever...
User avatar
Feralidragon
Godlike
Posts: 5493
Joined: Wed Feb 27, 2008 6:24 pm
Personal rank: Work In Progress
Location: Liandri

Re: Trace function question

Post by Feralidragon »

Yes, just make a FastTrace(EndTrace, EndTrace), and if it's outside the level, it will return False.
Torax
Adept
Posts: 406
Joined: Fri Apr 20, 2012 6:38 pm
Personal rank: Master of Coop
Location: Odessa, Ukraine

Re: Trace function question

Post by Torax »

Thanks a lot)
this helped me
Unreal. Alter your reality..forever...
Post Reply