Is it possible to move one object towards another that might be moving?
I can only put x,y coords as moving parameters as far as I can see(?)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
without using greensock you could do the following as a basic example:
Greensock animation requires a duration meaning the tween will come to an end at some point. There is a dynamicprops plugin but that also comes to an end eventually so this have to be done manually for any long amount of time.
Implementing basic friction and/or gravity will add to the realism (multiplying the ‘5’ number by a friction amount for example).