I am trying compair 'Objects AltValueA' to 'Objects AltValueB', but it doesnt work.
Basically what i have is:
- When clickting left 'mouse button', Bullet is created
- Each bullet stores the distance between its Origin ( coordinates of creation ) and its Target ( coordinates of where mouse was clicked ) in an AltValue
- Each bullet stores the distance between its current coordinates and its Target ( coordinates of where mouse was clicked ) in an AltValue
When i try to compair the two AltValues ( DistanceFromOrigin_ and DistanceToTarget_ ) to test if Bullet has reached its destination, instance selection seems to break.
What i mean is, sometimes when i fire multiple Bullets, all Bullets are destroyed when only 1 of the Bullets have reached its destination.
The short example should clarefy further.
Why is this not working?