I was working on a cover generating script that is triggered via bp construction script that calls a C++ method.
But for some reason one aof my variables always is 0 and I don’t know how?
.h:
.cpp:
113788-
As you can see if PlusX is greater than 0 Delta is set to DeltaX.
But if I try this function with (and probably with every other number)DeltaX = 100.0 and PlusX = 75.0, Delta = 0 for some reason.
The output of the log is:
Called GenOnOneSide()
PlusX is 100.0
PlusY is 0
Delta is 0
Can anyone see what I am doing wrong?