Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: terrorteck on November 22, 2015, 12:16:39 PM

Title: iTween Moving Along a Path while Rotating
Post by: terrorteck on November 22, 2015, 12: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.
Title: Re: iTween Moving Along a Path while Rotating
Post by: phannDOTde on November 23, 2015, 09: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.