5

How do I make a "driver" that works like this?

If I move object1 +X forward, then object 2 +X going forward, but if I move object1 -X backwards, also object2 +X going forward.

Duarte Farrajota Ramos
  • 59,425
  • 39
  • 130
  • 187

1 Answers1

8

Using the answer from How to make abs() give correct result for negative numbers? you can see when using absolute (abs) in the expression, you get a positive movement when object 1 goes to the negative.

enter image description here

Ebi
  • 871
  • 6
  • 16