Jump to content
Search Community

Making a 3c cube more touch interactive

rocketman97 test
Moderator Tag

Recommended Posts

I'm learning to code with javascript and gsap...I am an absolute beginner. I'm gaining knowledge from this code on a 3d rotating cube but it only rotates on touch, the cube does not allow the user to interact with the cube fully, similar to how the cube is on this demo 

pls any advice will be needed I'm still learning so I don't know much about how to implement any touch functions or behaviors. any comment will be appreciated thank you! 

See the Pen EopaYe by Sahil89 (@Sahil89) on CodePen

Link to comment
Share on other sites

We love helping with GSAP-specific questions, but unfortunately we just don't have the resources to provide free general consulting, logic troubleshooting, or "here are my requirements - can you please show me how to build it?" tutorials. Of course anyone else is welcome to post an answer if they'd like - we just want to manage expectations.  

 

You are welcome to post in the "Jobs & Freelance" forum for paid consulting, or contact us directly. 

 

It looks like it's mostly logic stuff, like you're firing off animations in the onDragStart but it sounds like you don't actually want it to do that. So you'll need to remove that and probably do things in an onDrag instead that set values (not tweens them to the end position).

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...