Hi,
I feel pretty stupid here, I have tried a lot of things but it appears that float subtract (and float add and float operator) just wont do maths.
I basically Get the X position for the last map spawned on x axis (red pieces) and subtract 400 from it to get the central position to spawn map pieces on the z axis (green/blue pieces).
The light green piece should always be in the centre when 400 is subtracted (I think, if I got my logic right), but it just does not seem to get subtracted
I have used debug and attached screenshots with debug enabled so the variables are visible. The variable is set via 'Get FSM float' initially.
Is it possible for the float subtract action to be messing me around or is it me going wrong somewhere?
Thank you all for any input!
(The gif shows how it affects gameplay, the screenshot shows the Actions in the FSM)
https://gfycat.com/FaithfulAdoredAbalone