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
) »
How do get gameObject XYZ and save as a Global variable?[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How do get gameObject XYZ and save as a Global variable?[SOLVED] (Read 2160 times)
robmuzz
Playmaker Newbie
Posts: 18
How do get gameObject XYZ and save as a Global variable?[SOLVED]
«
on:
July 02, 2013, 09:47:12 AM »
I know this is really simple, but I can't seem to get it to work...
How do get gameObject XYZ and save as a Global variable?
I have a global variable as a vector3 but I can't seem to get the XYZ from a object.
Thank you in advance.
«
Last Edit: July 05, 2013, 03:43:47 AM by jeanfabre
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: How do get gameObject XYZ and save as a Global variable?
«
Reply #1 on:
July 03, 2013, 02:14:34 AM »
Hi,
Simply use the action "Get position" and reference your gameobjec in the "Gameobject field" and your gloval vector3 variable in "Vector"
Or the problem is elsewhere?
bye,
Jean
Logged
robmuzz
Playmaker Newbie
Posts: 18
Re: How do get gameObject XYZ and save as a Global variable?
«
Reply #2 on:
July 04, 2013, 10:59:15 AM »
Thank you!
I'm not sure what I did before, but it's working now.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
How do get gameObject XYZ and save as a Global variable?[SOLVED]