Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: krane on February 23, 2017, 02:14:52 PM

Title: set position
Post by: krane 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.


Title: Re: set position
Post by: jeanfabre 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