playMaker

Author Topic: iTween Moving Along a Path while Rotating  (Read 2334 times)

terrorteck

  • Playmaker Newbie
  • *
  • Posts: 3
iTween Moving Along a Path while Rotating
« on: November 22, 2015, 02:16:39 PM »
just sort of new to playmaker and iTween so might be overlooking some basics here but I want to be able to move along a path while also being able to adjust the rotation of an object but still have it looking in the direction of the path.

I have an object set up and working moving along a path using "move_to" and "orient to path" enabled to keep looking in the direction of the path but when I try to add rotation to the object it doesn't work too well. When i disable "orient to path" i can rotate the object as hoped but now it no longer points in the direction of the path.

I can only assume that there is some conflict when using "orient to path" as it is doing some rotation adjustments itself. Is there any way around this?

Edit: http://parabole.ca/assetstore/airplanepath/airplanepath.html
this web demo explains what I am trying to achieve you are able to rotate while still following a path.
« Last Edit: November 22, 2015, 03:17:08 PM by terrorteck »

phannDOTde

  • Full Member
  • ***
  • Posts: 237
    • Peter Hann .de
Re: iTween Moving Along a Path while Rotating
« Reply #1 on: November 23, 2015, 11:35:44 AM »
How to just make an helper object that moves and orientates towards the spline and do the manual rotation on a child object? Not tested but might be the easiest fix.