playMaker

Author Topic: iTween Move To Y-axis Trajectory Path  (Read 2502 times)

essejmclean

  • Playmaker Newbie
  • *
  • Posts: 5
    • jessemclean.ca
iTween Move To Y-axis Trajectory Path
« on: June 15, 2015, 11:43:24 PM »
Howdy;

I have an object that I'm moving from point 'A' to 'B.' Right now, this object is moving just along the X- and Z-axis'.

I would like the object to arc in the Y-axis, say 'x' amount at its apex, and land at point 'B' as it does now. Keeping in mind that it has to all be dynamic -- changing distance, positions, etc.

Now I recognize that I could use the Physics engine and sort this out easily that way, but everything else in my system is made much easier by not using Unity Physics. That being said, yes, I am essentially creating my own physics engine; that's okay.

Currently, I'm using iTween's Move To function to translate the object and that's working great.

Is there a way that I can use this, send the object from point 'A' to point 'B' and achieve a Bezier curve (see link for example)? And if so, how can I go about achieving this?

Much thanks.

j

https://en.wikipedia.org/wiki/File:Bézier_2_big.gif


UPDATE: I've been doing more research and come across some things. I haven't solved the issue, but if someone is looking to help, these might be helpful starting points as we attempt to put this together.

iTweenPath - http://pixelplacement.com/v2/2010/12/03/visual-editor-for-itween-motion-paths/

This UnityAnswers Post - http://answers.unity3d.com/questions/662275/how-to-create-a-continuous-bezier-curve-path.html
« Last Edit: June 16, 2015, 12:04:25 AM by essejmclean »