playMaker

Author Topic: Itween move to with exisiting paths  (Read 54331 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Itween move to with exisiting paths
« Reply #30 on: September 17, 2013, 02:38:00 AM »
Hi,

 ok, maybe I misunderstand what you want to achieve. Can you rephrase? that will help talking about the same thing.

bye,

 Jean

bizilux

  • Full Member
  • ***
  • Posts: 171
Re: Itween move to with exisiting paths
« Reply #31 on: September 17, 2013, 05:21:47 AM »
this is how it is now:
soldier just follows itween path, facing same direction to the right, all the time


and this is how it should be... (i manually rotated him on Z axis only)

he should be  facing towards next node...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Itween move to with exisiting paths
« Reply #32 on: September 18, 2013, 02:24:09 AM »
Hi,

 You likely want to set the "look ahead" to a very very small percent, so that it looks right at the path in front of itself. something like 0.1 or something.

 Bye,

 Jean

bizilux

  • Full Member
  • ***
  • Posts: 171
Re: Itween move to with exisiting paths
« Reply #33 on: September 18, 2013, 08:10:09 AM »
as far as i see, look ahead works in conjunction with orient to path , so i ticked that too...

he does orient to path and all... but still disappears from the scene...   i tried all of  those Axis settings... but no luck



these 2D things can be so complicated at times in unity...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Itween move to with exisiting paths
« Reply #34 on: September 20, 2013, 03:01:39 AM »
Hi,

 disappear? you have something really weird going on.

 could it disappear because your camer clipping is too short? what 2d kit are you using? Mayb it is in conflict actually.

bye,

 Jean

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • KZ Development
Re: Itween move to with exisiting paths
« Reply #35 on: March 01, 2014, 02:23:53 PM »
I cannot find iTween Move TO V2 has that been changed, if so how do you make it work?

I tried putting an "id" but I don't think thats for the iTween path.

Please let me know.

Thanks

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • KZ Development
Re: Itween move to with exisiting paths
« Reply #36 on: March 03, 2014, 07:38:32 PM »
bump

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Itween move to with exisiting paths
« Reply #37 on: March 04, 2014, 06:04:33 AM »
Hi,

 this is the post with that v2 action:

http://hutonggames.com/playmakerforum/index.php?topic=1699.0

If you still have problems, let me know.

bye,

 Jean

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • KZ Development
Re: Itween move to with exisiting paths
« Reply #38 on: March 04, 2014, 07:13:24 PM »
Oooh, its an attachment we have to download.

My apologies did not see.

THanks

ing.prokop

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Itween move to with exisiting paths
« Reply #39 on: November 05, 2014, 05:17:15 PM »
hi There,
I downloaded moveto_v2, but I got compiling errors (no definition for "reverse path")...
can you help?
thanks

Headtrip

  • Playmaker Newbie
  • *
  • Posts: 25
Re: Itween move to with exisiting paths
« Reply #40 on: November 06, 2014, 11:33:27 PM »
I'm getting the same error  :'(

WatThaDeuce

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Itween move to with exisiting paths
« Reply #41 on: May 06, 2015, 03:46:05 AM »
Hi, sorry to res this thread but I am also getting multiple compile errors with Unity on this script with Unity 5.  After clearing the reverse path error, i now get this one:

Assets/iTweenMoveTo_v2.cs(192,36): error CS1519: Unexpected symbol `=' in class, struct, or interface member declaration

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Itween move to with exisiting paths
« Reply #42 on: August 28, 2015, 01:57:53 AM »
Hi, sorry to res this thread but I am also getting multiple compile errors with Unity on this script with Unity 5.  After clearing the reverse path error, i now get this one:

Assets/iTweenMoveTo_v2.cs(192,36): error CS1519: Unexpected symbol `=' in class, struct, or interface member declaration

HI,

 I'll have a look, please bump me mid next week, if I haven't had time.

 Bye,

 Jean

bitpocketer

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Itween move to with exisiting paths
« Reply #43 on: December 09, 2015, 10:26:18 AM »
Hi,
I want to download the extended version of moveto action, I'm not allowed to download that section, how do i get it?

SpencerPDX

  • Playmaker Newbie
  • *
  • Posts: 22
Re: Itween move to with exisiting paths
« Reply #44 on: October 19, 2016, 05:39:59 PM »
Hello! I realize this is an old thread, but it still seems to be the most relevant.

I tried using the action originally posted at the start of this thread, iTweenMoveTo_v2.cs, but I got the error:

Assets/PlayMaker/Actions/iTweenMoveTo_v2.cs(66,38): error CS0115: `HutongGames.PlayMaker.Actions.iTweenMoveTo_v2.OnDrawGizmos()' is marked as an override but no suitable method found to override

To get to where I could run in game mode, and not being sure what else to do, I commented out lines 66-78. That at least let me run, but I'm not sure what else I might have broken in the process. The object I'm trying to animate, a plane, does follow the path - and that's a relief - but it's not orienting itself along the direction of movement. Not sure if that's related.

Greatly appreciate the custom action, any further help would be most welcome.