Jump to content
Search Community

Directional rotating camera on event

mark772 test
Moderator Tag

Recommended Posts

Welcome to the forums, @mark772

 

I'm not much of a ThreeJS guy - I didn't notice any rotation animations at all in your demo. Did I miss something? Was there a GSAP-specific question we can help with? 

 

Directional rotation is baked into GSAP for regular DOM elements but obviously that won't help here since you're using a ThreeJS object. It wouldn't be terribly difficult to do what you're asking in a helper function or onUpdate, though. It'd help a lot if you just created the most minimal demo possible (strip out EVERYTHING you can) and focus it on a single GSAP question (like "notice how it's rotating in the wrong direction here - how can I make it go the other way?") - that'll significantly increase your chances of getting a good answer here. 

  • Like 1
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.
×
×
  • Create New...