playMaker

Author Topic: Smooth Follow Action... tweak?  (Read 4438 times)

Red

  • Hero Member
  • *****
  • Posts: 563
Smooth Follow Action... tweak?
« on: September 07, 2012, 10:32:55 AM »
Just found this one and it's almost perfect for what i'm needing it for.

though, if i may make a request to tweak this one?

see, i have set up triggers to tell the camera to be frozen in one place and looking at the player at all times. that part works but when i transition back to the smooth follow action state, the position snaps as opposed to a nice smooth motion like the rotations...

would it be possible to add in a tweak of this action to make the action move in the same speed to the target as opposed to the snap? i'll see about posting a quickie webplayer to highlight how it's doing it as things are now to show what i'm hoping to stop it from snapping like it is.

Red

  • Hero Member
  • *****
  • Posts: 563
Re: Smooth Follow Action... tweak?
« Reply #1 on: September 07, 2012, 10:50:15 AM »
Here's the quick webplayer i built that shows off what i'm hoping to avoid.

http://fantasy21.comyr.com/WebPlayer.html

walk onto the red plate to trigger the frozen camera and walk off to go back to default (the "smooth follow action" action.) as you can tell, it has a momentary "snap" when you move off the red plate that is what i'm hoping to be able to avoid... the funny thing, though... if you go onto the red plate, move all the way around the camera (so that it's pointing backwards compared to what it used to be pointing directionally, the snap isn't as noticable... still, it does snap a little bit.)

p.s. if this can be resolved then i can say that this game i'm making will be made with 100% playmaker FSMs when it's done (assuming i don't have to go outside of PM for anything it can't/won't do.)
« Last Edit: September 07, 2012, 01:29:54 PM by Red »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Smooth Follow Action... tweak?
« Reply #2 on: September 11, 2012, 05:33:29 AM »
Hi,

Can't get the web player to work, can you double check on your side?

bye,

 Jean

Red

  • Hero Member
  • *****
  • Posts: 563
Re: Smooth Follow Action... tweak?
« Reply #3 on: September 11, 2012, 09:37:49 AM »
it's working on my end... what does it say when you try and access it?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Smooth Follow Action... tweak?
« Reply #4 on: September 11, 2012, 11:00:03 AM »
Hi,

 d'oh, it's working now, not sure... Could you share the scene?

bye,

 Jean

Red

  • Hero Member
  • *****
  • Posts: 563
Re: Smooth Follow Action... tweak?
« Reply #5 on: September 11, 2012, 04:44:24 PM »
http://fantasy21.comyr.com/Camera%20Trigger%20Snaps.unitypackage

Here's a link to the package that should set up the scene as i have it set up. (i've excluded the Playmaker.dll file so make sure you have it DLed to the project you test it on.)