hej guys, I am struggling with an animation of the hatch. How to make that the object 'horn' sliding down along the local axis while following the rotation of the another object? horn has a rotation constraint to the rotating part.. I did with empties, drivers, bones, but noting worked, I wish to work it automatically so not just from 1 key frame to another
-
$\begingroup$ Can you share your Blender project file? Instructions for sharing. $\endgroup$Jakemoyo– Jakemoyo2025-07-26 16:55:38 +00:00Commented Jul 26 at 16:55
-
$\begingroup$ @Jakemoyo Here’s the .blend file: gofile.io/d/Z9zvI0 $\endgroup$Andrey Sharpilo– Andrey Sharpilo2025-07-26 17:30:57 +00:00Commented Jul 26 at 17:30
-
$\begingroup$ @Jakemoyo I have already done that bones slides along the local axis using the drivers, but for now can't get how to parent correctly the 'pin' to bone.. so they all keep the same direction and flow $\endgroup$Andrey Sharpilo– Andrey Sharpilo2025-07-26 17:31:59 +00:00Commented Jul 26 at 17:31
-
$\begingroup$ Hi. Please don't post essential information like links, file downloads or additional details in the comments section where it can be easily missed. Instead edit them into your original post with the Edit button above. Comments are transitory by nature, are hard to index or search for, and may be erased at any moment. $\endgroup$Duarte Farrajota Ramos– Duarte Farrajota Ramos ♦2025-07-26 19:20:48 +00:00Commented Jul 26 at 19:20
1 Answer
I assume you try to achieve this kind of "piston" effect.
The steps I used to create this:
First I parented an Empty to the rotating part, let's call it "Plate":
Then, I added a Copy Location Constrain to my "piston" Object and set the Target to the empty that was parented to the plate:
Then I added a new Empty and I added Damped Track constrain to my Piston, and used the new empty as target.
Damped Track rotates an object in all axis. So, I added a Limit Rotation constrain to limit rotation only to Y axis. (In this sector my knowledge in blender is limited, so I don't know if Damped Track is best option. I tried to use Locked Track, but didn't get it to work)
Next, I added Damped Track and Limit Rotation constrain to my Target Empty. The target of the Damped Track is the Piston position empty in the plate. (Actually, I could have used the Piston object too). This way, the Target always points to where the piston is on the Plate.
As a final step, I just added a small cylinder with a hole parented to the target empty, so that the piston nicely slides through the hole:
ps. Your model has very nice and clean topology :)
-
$\begingroup$ Thanks, I learned from this answer. I think you could have a single "locked track" on the top empty, and the cylinder has just "copy location (bottom)" and "copy rotation (top)". $\endgroup$Daniel Möller– Daniel Möller2025-07-26 22:11:02 +00:00Commented Jul 26 at 22:11
-
$\begingroup$ Jesus.. man, seems it's what I was looking for.. life-saver. I will have a look at the blend file as well but first will try to repeat what you wrote. Appreciate!! and another thanks for your feedback on topology! $\endgroup$Andrey Sharpilo– Andrey Sharpilo2025-07-26 22:21:00 +00:00Commented Jul 26 at 22:21







