playMaker

Author Topic: Getting a bus to move along an iTween path  (Read 1717 times)

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
Getting a bus to move along an iTween path
« on: February 27, 2015, 05:37:22 AM »
Deja Vu?

About 2 years ago I was having trouble with this damn bus, its part of a cutscene.
I got it workin then, but now it isnt.
At Jeans suggestion I dragged a sphere around the path and the Sphere was attached to the bus. Using a joint actually worked best.

But now I just cant get it to work at all?

The bus jumps a tiny bit when the scene starts, I suspect its getting to the first node OK... or just reacting to gravity a bit (its a rigid body)

But I am getting an iTween error.. whats this mean?
NullReferenceException: Object reference not set to an instance of an object
iTween.RetrieveArgs () (at Assets/Plugins/Pixelplacement/iTween/iTween.cs:6811)
iTween.Awake () (at Assets/Plugins/Pixelplacement/iTween/iTween.cs:6559)
UnityEngine.GameObject:AddComponent(String)
iTween:Launch(GameObject, Hashtable) (at Assets/iTween/iTween.cs:6731)
iTween:MoveTo(GameObject, Hashtable) (at Assets/iTween/iTween.cs:1448)
HutongGames.PlayMaker.Actions.iTweenMoveTo_v2:DoiTween() (at Assets/PlayMaker/Actions/iTween/iTweenMoveTo_v2.cs:197)
HutongGames.PlayMaker.Actions.iTweenMoveTo_v2:OnEnter() (at Assets/PlayMaker/Actions/iTween/iTweenMoveTo_v2.cs:109)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32)
HutongGames.PlayMaker.FsmState:OnEnter()
HutongGames.PlayMaker.Fsm:EnterState(FsmState)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState)
HutongGames.PlayMaker.Fsm:UpdateStateChanges()
HutongGames.PlayMaker.Fsm:Start()
PlayMakerFSM:Start()




« Last Edit: February 27, 2015, 05:39:04 AM by markfrancombe »

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
Re: Getting a bus to move along an iTween path
« Reply #1 on: March 01, 2015, 07:29:01 AM »
Just an add..
Im actually having trouble getting any iTween things to work... could that be a thing?