Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

using setDestination() to update bezier

Recommended Posts

Is there a way to do this?


I can't see a way I can update this with the setDestination() method.


I've tried this:

if(tween.currentProgress > 0.5)


As my tween has only two bezier points, so if it's done half way it's finished the first. However, this causes the script to crash.


I am thinking I should kill the tween and create a new one, but maybe there's another way?



Link to comment
Share on other sites

You cannot use setDestination() to update a bezier property, no. Sorry.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.