playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
How do I do the += Equivalent when using setPosition?[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How do I do the += Equivalent when using setPosition?[SOLVED] (Read 1964 times)
grimmy
Junior Playmaker
Posts: 70
How do I do the += Equivalent when using setPosition?[SOLVED]
«
on:
March 19, 2013, 07:46:26 PM »
Normally in Unity I would do gameObject.transform.position.x+=1; but how do I do this when positioning an object in playmaker?
Thanks
«
Last Edit: March 20, 2013, 02:48:46 AM by jeanfabre
»
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: How do I do the += Equivalent when using setPosition?
«
Reply #1 on:
March 19, 2013, 08:53:57 PM »
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.
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
Jryvn
Playmaker Newbie
Posts: 1
Re: How do I do the += Equivalent when using setPosition?
«
Reply #2 on:
March 19, 2013, 10:39:16 PM »
Try using the Translate action in the Transform group
Logged
grimmy
Junior Playmaker
Posts: 70
Re: How do I do the += Equivalent when using setPosition?
«
Reply #3 on:
March 20, 2013, 02:24:57 AM »
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
How do I do the += Equivalent when using setPosition?[SOLVED]