playMaker

Author Topic: [Solved]Wrong coordinates with Get Position  (Read 239 times)

stigma

  • Full Member
  • ***
  • Posts: 190
[Solved]Wrong coordinates with Get Position
« on: April 27, 2024, 02:55:59 AM »
Why doesn't Get Position save object coordinates?
In other cases this action works.


thanks
« Last Edit: Today at 11:48:53 AM by stigma »

mintyman

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Wrong coordinates with Get Position
« Reply #1 on: April 27, 2024, 06:47:22 PM »
you have to have "every frame" checked or it wont  get the updated position of the object you are trying to get the position of when it moves.

stigma

  • Full Member
  • ***
  • Posts: 190
Re: Wrong coordinates with Get Position
« Reply #2 on: April 28, 2024, 02:40:13 AM »
if I do that, the action is blocked. Yet she was walking on a test stage. It doesn't matter, I'll change the coordinates differently

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7621
    • jinxtergames
Re: Wrong coordinates with Get Position
« Reply #3 on: May 07, 2024, 09:23:24 AM »
is that object in the root? or a child object.

as the action is taking world position, and in inspector it shows 'Self' (local) position

stigma

  • Full Member
  • ***
  • Posts: 190
Re: Wrong coordinates with Get Position
« Reply #4 on: May 08, 2024, 02:18:20 AM »
It is not at the root of an object.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7621
    • jinxtergames
Re: Wrong coordinates with Get Position
« Reply #5 on: May 08, 2024, 02:46:24 PM »
On the Get Position action you can set space to "world" or 'Self'
the same thing on Set Position actions.
so if you get world and you want to place it back to that position later on, then you should also use world

stigma

  • Full Member
  • ***
  • Posts: 190
Re: Wrong coordinates with Get Position
« Reply #6 on: Today at 11:48:28 AM »
oh how stupid I am! Thank you so much