playMaker

Author Topic: A Question About Get Position  (Read 1631 times)

G-Kaiser

  • Playmaker Newbie
  • *
  • Posts: 34
A Question About Get Position
« on: August 30, 2018, 04:07:20 AM »
I would like to know if there is an Playmaker Action that sends an event when the position changes by a set increment? I currently have a state set up where it gets the players position as a float. Then I use the action Set Float to Int and and use Int Change to send my event. I would like to know if there is a better way to do this as it is frame dependent. I would like like for it to be frame independent.


Thanks for any help

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: A Question About Get Position
« Reply #1 on: August 30, 2018, 07:29:57 AM »
Hi,

yes, check this thread: http://hutonggames.com/playmakerforum/index.php?topic=10953.0

the action is on the Ecosystem as well: TransformHasChanged

Bye,

 Jean

G-Kaiser

  • Playmaker Newbie
  • *
  • Posts: 34
Re: A Question About Get Position
« Reply #2 on: August 30, 2018, 11:14:08 AM »
Thanks for the help but, I am looking for an action that sends an event when the game object the position increases or decreases by a certain increment. i.e. if the position increases by 1, then send an event. Is there an action like this?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: A Question About Get Position
« Reply #3 on: August 31, 2018, 03:35:30 AM »
Hi,

 nop, but I just made one up, on the ecosystem, called MovementDetection.

 let me know if it works for you.

Bye,

 Jean