1
$\begingroup$

animation of the drawer

Video (Google drive)

I couldn't upload a video on the website so I uploaded a video to Google drive. Anyway, I've created a drawer and gave it a 'Limit Distance' constraint. It works well in the front direction, but when I try to pull it back, it goes to the back. How can I fix this? I want to do this one way (in the front direction). This should not go backwards.

I'm sorry for my bad English. Thanks in advance.

$\endgroup$
4
  • 2
    $\begingroup$ Hello, what's your question ? $\endgroup$
    – Gorgious
    Jul 26 at 10:37
  • $\begingroup$ oh sorry, how can i fix this. I want to do this one way(in front way) this should not go backwards. $\endgroup$
    – Burak
    Jul 26 at 11:58
  • 1
    $\begingroup$ Limit Distance as the name says limits the distance to a target. Which means, you can move the object in any arbitrary direction (spehrical around it), as long as it's stays within the set distance. $\endgroup$ Jul 26 at 13:52
  • $\begingroup$ oh all right i got it thank you $\endgroup$
    – Burak
    Jul 26 at 18:41
2
$\begingroup$

I think what you want is limit location, not limit distance.

enter image description here

Just set min and max of 2 axis to 0. So you cannot move it on that axis.

And set min and max value of your "moveable" axis to 2 values (min should be lower than max).

then you get:

enter image description here

$\endgroup$
3
  • $\begingroup$ YES, thats what I'm looking for. I'm appreciate for your reply and your time. $\endgroup$
    – Burak
    Jul 26 at 18:42
  • $\begingroup$ You are welcome. $\endgroup$
    – Chris
    Jul 26 at 18:45
  • $\begingroup$ @Burak Other than shown in the screenshot you should rather set Owner to Local Space instead of World Space. If your drawer is parented to the cupboard and your moving the cupboard around, the drawer will stay in its place (or move only those 2 m in Y direction) because the location is limited to World Space. $\endgroup$ Jul 27 at 8:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.