Previous topicNext topic

Move an object from here to there

Questions, comments, feedback, etc.
Post Reply
dfaught
Posts: 16
Joined: Sun Feb 10, 2019 2:23 pm

Move an object from here to there

Post by dfaught »

This seems like it should be easy, but I haven't figured it out yet. How do I move an object from one specific position to another specific position exactly 1 time over the length of a scene, or any fixed amount of time? Ease-in and ease-out for extra credit.
Thanks for any help.
Sadler
Posts: 1348
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Move an object from here to there

Post by Sadler »

There was a similar question not long ago: viewtopic.php?t=3227

The same advice applies to your question but here's the logic to get from here to there. You need some time for the movement - that could come from a number of sources but let's use an Increase modifier on X translation as an example. An Increase modifier goes from 0->infinity so you'll need to Clamp it. This will give you the extent of the movement from 0 (e.g. 0 to 5). The value of the increase modifier dictates the speed of the movement. Set to its default, 1.0, it would take one second to increase to 1.0, five seconds to increase to 5.0 and so on. If you don't want to start from zero you can Offset your start position.

If you want your element to move in the opposite direction, Scale the clamped increasing value by -1.0 and adjust your offset accordingly (offset after the -ve scale)

There's no easing as such, but a Smooth modifier does pretty well at this. The higher the smoothing, the more the element will ease into its start and end positions.
bylefjild
Posts: 18
Joined: Wed Oct 23, 2024 7:37 am

Re: Move an object from here to there

Post by bylefjild »

I struggled also with this! So here is a more 'visual' explanation. Remember to use cmd E to restart de scene... Thank @Sadler for your help!
Attachments
Screenshot 2024-11-03 at 21.04.25.png
Screenshot 2024-11-03 at 21.04.25.png (716.02 KiB) Viewed 18473 times
dfaught
Posts: 16
Joined: Sun Feb 10, 2019 2:23 pm

Re: Move an object from here to there

Post by dfaught »

Yes, thank you very much @Sadler and @bylefjild. Very helpful. In my case, I used a separate Translate to set the start position rather than Offset, but works great!
Post Reply