#Can someone help me fix this code

5 messages · Page 1 of 1 (latest)

vapid bay
#

Error tried to compare vector 3

wicked veldt
#

try distance.magnitude which is the distance between the positions you've subtracted

#

then it could be comparing number and number rather than vector3 and number (which i assumed that type of comparison throws an error)

wicked veldt