I usually refer to this website when I need easing. http://www.gizma.com/easing/

For spinning an object with the mouse, you can try adding some
acceleration to the rotation based on how the mouse moved since the
last frame and deacceleration when the mouse lets go. Can have a
initial speed and max speed.

On Apr 13, 9:58 am, colouredfunk <[email protected]> wrote:
> Hi,
>
> I’ve been using HoverCamera3D to rotate round an object, but instead
> of rotating  the camera around the object I need to rotate the object
> when the user clicks the mouse..
>
> I had a nice bit of code that rotated the camera with a nice amount of
> easing on, that reacted nicely to the speed you moved the mouse.. I’ve
> tried to adapted it to for spinning the object but it’s not really
> work..
>
> Has anyone got any good examples?
>
> Many thanks

Reply via email to