Generated arc movement

Hi all,

Looking for any ideas on this.
Essentially I have my character controller whom I wish to physically pickup an object. Imagine picking up a a barrel and carrying it directly above your head. I’ve been looking at slerp, but that interpolates across all axis.
I guess I wish to “somehow” have a defined arc that goes from the objects centre to above the character controllers centre - but this means a greater bias on ‘y’ (height) than say x z.
Just trying to find an approach that lets my generate such an arc. Hmmmm, perhaps I could lerp x z as 1 thing, and then lerp y (height) separately - sorry; thinking out loud which always happen once you are about to post :slight_smile: (I guess the brain works better once you have typed a question and therefore clarified your own thought).

As usual any suggestions appreciated!

Cheers

Ok, quick thought :slight_smile:

I could in theory build my arc from game objects (yeah I know this sounds crap, but bear with me!)
So I create some small cubes and position them to form my arc i.e. ontop each other and then ‘curving’ off at the top.
I then make this a prefab.
Then when I wish to ‘pickup’ I spawn this object (obviously don’t draw it); rotate it correctly and then simply lerp from each cuboid until I reach the last one i.e. at the top of the arc.

Does that sound like junk!? :-))) - might be jerky, and presumably would slowdown as it approaches each cuboid (any shape) destination.

Cheers