Giter VIP home page Giter VIP logo

Comments (7)

ngokevin avatar ngokevin commented on July 19, 2024

I merged #1 which might help!

from aframe-super-shooter-kit.

kwadroke avatar kwadroke commented on July 19, 2024

I just tried it on my Quest. It's working, but, the guns are pointing up/parallel with the handles on the Quest Controllers. Not pointing forward like a normal gun. More like a lightsaber.

from aframe-super-shooter-kit.

ngokevin avatar ngokevin commented on July 19, 2024

I see. For Touch controllers, need to rotate the meshes to match. Usually, we have a controller.js file that detects the controller type and makes any necessary adjustments (mesh rotations, raycaster directions). Won't get around to updating until maybe next week, but you can rotate the controller or shoot direction for now?

from aframe-super-shooter-kit.

kwadroke avatar kwadroke commented on July 19, 2024

I can rotate the controller and shoot the creatures. Just feels off at the moment.

from aframe-super-shooter-kit.

Firepal avatar Firepal commented on July 19, 2024

The A-Frame version used in the example is outdated.
The latest version of A-Frame has a much more stable oculus-touch-controller that recognizes and fixes the orientation of the Oculus Touch Gen 2 controllers.

Here's an edit of the supercraft example with the latest A-Frame

from aframe-super-shooter-kit.

Firepal avatar Firepal commented on July 19, 2024

The example uses TWEEN.js, which is no longer included in new A-Frame releases and was replaced with the animation component, so this would require more work than just adding a new version of A-Frame...

from aframe-super-shooter-kit.

Firepal avatar Firepal commented on July 19, 2024

Decided to use the old A-Frame version and keep the Tween code.
Manually setting the orientation offset of the controller works, probably breaks CV1 controller orientation though.

from aframe-super-shooter-kit.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.