playMaker

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

bizilux

  • Full Member
  • ***
  • Posts: 171
    • View Profile
Re: Itween move to with exisiting paths
« Reply #30 on: September 16, 2013, 12:48:17 PM »
thanks...
i actually checked this action few days ago, i even checked tank example... but then i thought this is not it, this is for tanks...

ok well i tried implementing it, but man... i just dont understand this look at action at all... you have some up vector

i did check the tank example... i still dont get it what is the deal with that up vector, i mean i have to specify around which axis i want it to rotate... but no idea how...


and even if i figured out how to point my soldier towards those coordinates, i then wouldnt be able to point him to next node once he reaches that node...

i dont think i could use this action in conjunction with iTween Move To_v 2.... correct me if im wrong..

i attached my itween soldier, and itween path...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Itween move to with exisiting paths
« Reply #31 on: September 16, 2013, 11:38:00 PM »
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
    • View Profile
Re: Itween move to with exisiting paths
« Reply #32 on: September 17, 2013, 02: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: 12342
  • Official Playmaker Support
    • View Profile
Re: Itween move to with exisiting paths
« Reply #33 on: September 17, 2013, 11:24:09 PM »
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
    • View Profile
Re: Itween move to with exisiting paths
« Reply #34 on: September 18, 2013, 05: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: 12342
  • Official Playmaker Support
    • View Profile
Re: Itween move to with exisiting paths
« Reply #35 on: September 20, 2013, 12: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
    • View Profile
    • KZ Development
Re: Itween move to with exisiting paths
« Reply #36 on: March 01, 2014, 12: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
    • View Profile
    • KZ Development
Re: Itween move to with exisiting paths
« Reply #37 on: March 03, 2014, 05:38:32 PM »
bump

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Itween move to with exisiting paths
« Reply #38 on: March 04, 2014, 04: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
    • View Profile
    • KZ Development
Re: Itween move to with exisiting paths
« Reply #39 on: March 04, 2014, 05:13:24 PM »
Oooh, its an attachment we have to download.

My apologies did not see.

THanks

ing.prokop

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Re: Itween move to with exisiting paths
« Reply #40 on: November 05, 2014, 03: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
    • View Profile
Re: Itween move to with exisiting paths
« Reply #41 on: November 06, 2014, 09:33:27 PM »
I'm getting the same error  :'(

WatThaDeuce

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Re: Itween move to with exisiting paths
« Reply #42 on: May 06, 2015, 12: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: 12342
  • Official Playmaker Support
    • View Profile
Re: Itween move to with exisiting paths
« Reply #43 on: August 27, 2015, 10:57:53 PM »
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
    • View Profile
Re: Itween move to with exisiting paths
« Reply #44 on: December 09, 2015, 08: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?