Hey everyone!
I'm trying to create a custom 3D-slider which should affect another gameobject on one of its axis.
Right now I'm using the Easy Touch 5 asset to drag a cube (while mouseclick) on its x-axis. The cube can "move" to the left and to the right and I'm limiting his drag distance on the x-axis with Float Compare. (like in the playmaker breakout example).
x-axis values: -5<--------0-----[cube]-->+5
now the tricky part:
I want to control another gameobject with that "3D-slider". Lets say I move the cube to the right, my other gameobject should also begin to move f.ex. to the right (on its x-axis) and on its own limitied "track". something like this:
x-axis values: -5<--------0-----[cube]-->+5
x-axis values: -30<-------------------0----------[object2]--------->+30
I have no clue how to achieve this, could you guys help me out? It should be something like this example using min/max values, but unfortuantly I'm not using ui sliders :/ (