It’s not a bug, it’s because setTarget
recompute the radius, alpha and beta properties based on the parameter passed to it. So, whatever the values of those properties before the call, they will be overwritten by the call.
What you can try is:
- save the current values of radius, alpha and beta
- call
setTarget
=> copy the radius, alpha and beta values - reset the radius, alpha and beta properties to the ones saved at step 1
- use the values copied at step 2 as the end values of your radius / alpha / beta animations