playMaker

Author Topic: set position  (Read 1229 times)

krane

  • Junior Playmaker
  • **
  • Posts: 63
set position
« on: February 23, 2017, 02:14:52 PM »
Can someone help me with setting position: I have a texture that will be made active on an event (e.g. button click giving instruction).  That part works fine using mouse pick 2d > activate
But I can't for the life of me get the thing to get into the centre of the screen. No matter what I do, it stays in the bottom left (0,0) coordinate.

On the button to click, then, I've got Mouse pick 2D event, which takes to a new state where I get Screen to world Point as vector "V3", save the world vector as "world".

But "world" keep showing as 0,0  : i.e. it doesn't translate my V3 at all.



jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: set position
« Reply #1 on: February 24, 2017, 03:23:16 AM »
Hi,

 what is your GameObject made of? is it using the new UI system, or a 2d sprite?

Bye,

 Jean