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
) »
Problem with iTween Move To
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Problem with iTween Move To (Read 2691 times)
ckarmy
Playmaker Newbie
Posts: 2
Problem with iTween Move To
«
on:
June 26, 2013, 12:49:33 AM »
Hi I'm new in playmaker and am making that an object follow another with the action "ITween move to". It works but the problem is that the target is moving and the action of ITween follows the initial position of the target and does not update while is moving.
How do I get that my object follow the target as it moves?
Thank you very much!
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Problem with iTween Move To
«
Reply #1 on:
June 26, 2013, 05:40:24 AM »
Hi,
Tween engines are not meant to following moving target as a rule of thumb.
Instead prefer the action "move towards" or simply lerp the position using "vector3 lerp".
bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Problem with iTween Move To