View Single Post
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 01-03-2018 , 12:44   Re: TraceLine (Ignore all ents?)
Reply With Quote #5

Im making a 3rd person camera, and when i get the aim origin using traceline then converting it into angles to the camera entity, but when the traceline collides with anything it makes the view "flicker" because it corrects itself according to terrain (collisions) that is in ur aim.

And i don't know any other method of getting accurate aim origin without traceline.

I basically need an origin in the aim direction, but with predefined length of it.

Sorry if i explained it shitty.

Quote:
Originally Posted by NiHiLaNTh View Post
One of the possible solutions is to create multiple tracelines. One trace line hits something, than another starts, etc.
Do you have example code?.
__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 01-03-2018 at 12:46.
SkumTomteN is offline