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
) »
Difference between "Vector Position" and "Transform Position" in iTween?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Difference between "Vector Position" and "Transform Position" in iTween? (Read 2120 times)
indeed
Junior Playmaker
Posts: 85
Difference between "Vector Position" and "Transform Position" in iTween?
«
on:
February 26, 2015, 11:10:34 AM »
Hi, sorry if this is really basic, but I just don't get it. What is the difference, for example in the iTween Move To action, between Vector Position and Transform Position? When would you use one and not the other?
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Difference between "Vector Position" and "Transform Position" in iTween?
«
Reply #1 on:
February 26, 2015, 11:28:31 AM »
Vector Position needs a Vector3 variable.
Transform Position needs a GameObject/Transform variable.
They're different Object Types. If you can supply a numerical Vector3, then use the Vector Position field. If you can supply a GameObject to target, then use the Transform Position field.
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
indeed
Junior Playmaker
Posts: 85
Re: Difference between "Vector Position" and "Transform Position" in iTween?
«
Reply #2 on:
February 26, 2015, 11:42:05 AM »
Ah ok, that makes sense. I was just confused about best practices. Like, if I just want a cube to raise upwards, does it makes more sense to use one or the other? Both seem to work, just want to avoid any trouble as I build things.
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Difference between "Vector Position" and "Transform Position" in iTween?
«
Reply #3 on:
February 26, 2015, 11:43:22 AM »
Whichever one serves your purposes better is fine.
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Difference between "Vector Position" and "Transform Position" in iTween?