I am new to Blender (downloaded it this week) and I am currently modeling a very basic wave energy converter. It is supposed to move up and down with the waves and pivot around a rigid connection point. I have manually done this using keyframes to provide an idea of what I am looking for and attached it below. I was wondering if there is a way to do this automatically though so that I can play around with wave size, height, direction, etc. without having to worry about manually adjusting keyframes every couple of frames. When using copy location the object moves up and down on the y-axis (shown below) and I can't figure out to fix the pivot point. Also, when using that method the object doesn't seem to be following the waves very well so if there are any recommendations for that it would be appreciated. Thank you!
The idea is already the right one - you just need to break it down furter. There are 3 different objects here:
- The float, getting pushed up and down by the waves (copy location)
- A fixed anchor
- A connector, pointing from the anchor towards the float (locked track)
We can sample the position the float will have by creating some empties. These get projected (shrinkwrap modifier, project, align to normal ) on to the waves. A single one will do, but averaging over multiple ones makes everything smoother. While doing so we can also copy their direction to make it "follow" the slope of the waves.
The connecting rod needs to have its origin in the pivot point of the anchor. (move 3d cursor to pivot, origin to cursor) Given that the float has its origin in the center, it's just a matter of finding the right axis in the "locked track"-modifier.
This isn't a physically correct setup, but it is easy to set up and doesn't require any simulations.