Hey guys,
I am trying to slide an object on an axis only
From the pickup cube I am trying to use the difference between the “Arrow” and the “Cube” to translate the door on x axis.
For some reason as soon as I grab the “Cube” the door is flying somewhere
that I can’t see and the value of that position, when I use a print string is crazy high.
Something is wrong for sure but don’t know what it is really
I tried to clamp the value as well in between a minimum of -100 but the door start with an offset of -100 when I play the level.
Appreciate a bit of help please?
Thanks in advance guys