Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Gav (HeyBud) on September 13, 2014, 12:43:09 AM

Title: [SOLVED] Set Position Vector2
Post by: Gav (HeyBud) on September 13, 2014, 12:43:09 AM
Hello,

Using mouse pick 2d which only takes vector 2 var for the "store point". Then I'd like to set the position of the 2d object but Set Position only takes Vector 3 var. What's the workaround for this?

Thanks
Title: Re: Set Position Vector2
Post by: 3d_Artist1987 on September 19, 2014, 03:14:18 AM
any update?
Title: Re: Set Position Vector2
Post by: Gav (HeyBud) on September 21, 2014, 09:29:19 PM
Hey,

Yeah, @heybudgames made a custom action for me. Here ya go: Set 2D Position https://dl.dropboxusercontent.com/u/1918047/Playmaker%20Actions/Set2DPosition.cs (https://dl.dropboxusercontent.com/u/1918047/Playmaker%20Actions/Set2DPosition.cs) Right Click > Save link as

Best  :)
Title: Re: [SOLVED] Set Position Vector2
Post by: 3d_Artist1987 on September 21, 2014, 11:37:48 PM
thank you very much