playMaker

Author Topic: Variable type GameObject to static Vector3 type? [SOLVED]  (Read 1776 times)

FritsLyn

  • Full Member
  • ***
  • Posts: 191
Variable type GameObject to static Vector3 type? [SOLVED]
« on: May 17, 2013, 09:45:07 AM »
I just realized that a GameObject type variable changes with the game object, even when the assigning of the variable only happens once.

OK! :)

Well then I do not seam to be able to find a way to then get my variable to stand still.. :)

Basically when my program starts, I want to note where a game object is, so I can use that as a reference for other objects - even after everything has moved.

Is there a way to transfer GameObject value to a "static" placeholder? I cannot find it.

Thanks.
« Last Edit: May 17, 2013, 01:01:20 PM by Alex Chouls »

FritsLyn

  • Full Member
  • ***
  • Posts: 191
Re: Variable type GameObject to static Vector3 type?
« Reply #1 on: May 17, 2013, 12:26:03 PM »
Arh! Got it :)

Action: "Get Position"