playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
[Solved]Wrong coordinates with Get Position
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [Solved]Wrong coordinates with Get Position (Read 1262 times)
stigma
Full Member
Posts: 193
[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: May 09, 2024, 11:48:53 AM by stigma
»
Logged
WIP Omanah :
https://ufo-3d.fr/gallery/picture.php?/17866/category/952
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.
Logged
stigma
Full Member
Posts: 193
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
Logged
WIP Omanah :
https://ufo-3d.fr/gallery/picture.php?/17866/category/952
djaydino
Administrator
Hero Member
Posts: 7623
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
Logged
Join the PlayMaker Discord Channel!
stigma
Full Member
Posts: 193
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.
Logged
WIP Omanah :
https://ufo-3d.fr/gallery/picture.php?/17866/category/952
djaydino
Administrator
Hero Member
Posts: 7623
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
Logged
Join the PlayMaker Discord Channel!
stigma
Full Member
Posts: 193
Re: Wrong coordinates with Get Position
«
Reply #6 on:
May 09, 2024, 11:48:28 AM »
oh how stupid I am! Thank you so much
Edit:
but it only works with one object per scene.
«
Last Edit: May 15, 2024, 12:10:26 PM by stigma
»
Logged
WIP Omanah :
https://ufo-3d.fr/gallery/picture.php?/17866/category/952
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
[Solved]Wrong coordinates with Get Position