Skip to content

Instantly share code, notes, and snippets.

@talkol
Created January 9, 2020 21:39
Show Gist options
  • Save talkol/fa42fe6d973cb277b13ed870d2f9deeb to your computer and use it in GitHub Desktop.
Save talkol/fa42fe6d973cb277b13ed870d2f9deeb to your computer and use it in GitHub Desktop.
  • I'm working on an Iron-Man game in WebVR (using A-Frame library) and I want to replace the default VR hand model of A-Frame with a custom model of Iron-Man's hands.

  • This is the default model in A-Frame of the VR hands - Left | Right. Please download it and take a look.

    • Alternatively, I've already commissioned a similar Spider-Man hands model and this was the result - Left | Right.

    • I think the Spider-Man result was excellent so please take a look.

  • The result should be similar GLB files (left and right) that have a similar proportions/physical size and similar animations (with slight differences explained below). Take a look at the animation names and format in the default model because the result should be a drop-in replacement in my game (my game currently relies on the default GLB files).

  • I found this model that I like for Iron-Man's hands - Iron Man Bleeding Edge. Let's base the result on it. You can download this model from the link, it's free to use, just click "Download 3D Model".

  • The first modification of the new model is to cut the hand at the wrist. Second, the model should be closed, so you won't be able to look inside the hand from the back. Here's an example.

  • You should add bones to the model so it can be animated. The default posture of the hand should be similar to the Spider-Man version: Left | Right.

  • There's no need to reconstruct all the animations from the default model, I need only 3:

    1. "Grip" - Similar to the animation named "Grip" in the default model.

    2. "Fist" - Fingers made into a fist (for a punch).

    3. "Blast" - Animating the fingers to a blast posture - here's an example, another example.

  • The result should be given as a GLB file (and GLTF). The size of each file should be about 3MB.

  • Try dragging the default model to this online viewer. Then, drag your result to see if you get something similar. Notice that the online viewer let's you see all the animations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment