PlayMaker Help & Tips > PlayMaker Help
How do I do the += Equivalent when using setPosition?[SOLVED]
(1/1)
grimmy:
Normally in Unity I would do gameObject.transform.position.x+=1; but how do I do this when positioning an object in playmaker?
Thanks
Lane:
Not sure about the code, does it offset the position? (not a coder)
You can change the X field from a variable option to a input field and enter 1.
Jryvn:
Try using the Translate action in the Transform group
grimmy:
Ah okay thanks. I was doing that but I had the per second option ticked which translates the object over a 1 second period, so the movement was barely visible.
Navigation
[0] Message Index
Go to full version