Jump to content

Niek Roemahlewang

  • Posts

  • Joined

  • Last visited


2 Newbie

About Niek Roemahlewang

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi @elegantseagulls, This works! Thank you very much for taking the time to help. The cube was definitely a good project to learn and I understand the draggable option a bit more now.
  2. Thank you for your reply @elegantseagulls! I managed to get the 'this.x position' while dragging but wasn't able to connect it to the nav buttons. Please let me know when you've managed to create the pen. That would be very helpful.
  3. Hi all, Recently I made this 3D cube and I can't seem to get the navigation to work properly: I used this example of Chris Gannon: https://codepen.io/GreenSock/pen/3ff3af968fb3356423998050b0ae1d42?editors=0010 to create the cube and interaction. Dragging works fine with snapping, but when you click on the navigation buttons while the cube is tweening, 90 degrees are added, so the cube isn't 'snapping' anymore and it look likes the cube hasn't turned all the way. I've added a check to prevent this, but still no luck. Is there a way to disable the click while the cube is tweening? Or should I use some sort of 'snap' to allow the cube to turn only by 90 degrees. Any help is very much appreciated!
  4. A bit late, but I'm currently also working on a HPTO for Weborama. Code the parts locally and upload them to preview. You can only preview the full working HPTO in their environment.