I-tween rotate around object

Is it possible to rotate an object around a player using i-tween? like using the player as the axis? I really like the eased rotation with I-tween but I'm just not sure how to use the player as the axis...

.. actually my previous makes no sense because that's not how you're using t. I'm used to 't' being the 'distance' or 'time' along the ray to the intersection, rather than a vector. i'll post a different port of the same algo in a separate ansewr.

–

1 Answer

1

This will be included in a future version very soon. In the meantime just put the object you want to do the orbiting into a GameObject and offset it from the center and use one of iTween's rotate methods.

Hi, Was this feature ever added? I can't see it in the documentation. Thanks

–