can someone explain me this in coding?.. because when people tell me in pratical terms i just cant imagine how would look like in javascript…
heres my code so far :
if (!Physics.Linecast (transform.position, target.position)) {
[COLOR="seagreen"]// detected there is not a direct line between the target and the linecaster..[/COLOR]
}
now… how do i implement a exception to this case?.. i want a certain object to be between the linecaster and the target, and even so this script does not notice it
can someone gimme a example? i’ll be very thankfull