itch.io is community of indie game creators and players

Devlogs

v 0.4.5 (hand-tracking)

Tea For God
A downloadable game for Windows

The most important feature of this build (0.4.5) is hand-tracking support for Oculus Quest. The support is quite basic. Hands are tracked, there is nothing extra done with tracked information. No smoothing, predictions. This results in some jitteriness but for time being I don't want to get in the way of hand-tracking too much.

Simple gestures are handled. They are all described from within the game, so I won't be running here into details on how to perform them. Important thing is that I wanted gestures to be different but also that you could perform multiple gestures at the same time (like holding a gun, shooting, pulling energy orbs and using EXMs). I was quite happy with the result when I was just testing gestures themselves. But then I started to play the game and...

One important thing to mention here is that there is some issue when you move. I am aware of it. It will be fixed, just not right now. I haven't yet found the actual reason. I have a few suspects and I'll be trying to figure this out. It may take more time, though. 

Well, I am amazed at how well it tracks your hands. As long as it has a view on them. If the view is not clear, a lot of issues may happen. The worst and the most common is that you lose any tracking info. If you try to aim with your arm stretched, most likely there will be no information about your fingers (because they're obstructed by your wrist and arm) and tracking is lost. But there are also other smaller issues like if fingers are obstructed (even by other fingers) they are put in their default pose. I had to change a few gestures to counter that but still, it's not great at the moment how it works in the game. There is another problem although it is a bit solvable. General jitteriness of tracking.

If you look at your tracked hand, you see it shaking, moving all the time. This isn't an issue if you just grab things, do simple gestures etc. But when you are holding a gun and trying to aim, the gun goes all over the place. And you can stretch your hand to make it easier because all tracking info is then lost.

I still want to keep it in the game, as it still works, especially when you remove all NPCs from the game. You can just walk around, push some buttons - there's not much of them right now, but more devices will be coming.

A few technical details.

Hands in the game are a bit different than real hands. That was done on purpose. I didn't anticipate hand-tracking. If I'd do the way described in SDK, I should either use provided hand model or remodel my hands. I didn't want to remodel my hands as I was not sure how hand-tracking will work. Couldn't just put bones as they are completely different. Using fingertips alone was also not working as fingers in both models have different length. What I did is that I still use fingertips data for IK but I alter it depending on how stretched fingers are. If they are stretched, I alter fingertip location to depend on actual mesh/skeleton data - longer fingers, starting bones are placed a bit differently. This works good enough.

The way I track gestures is that four fingers (index, middle, ring, pinky) can be in three normal states (folded, straight, neutral) plus one extra (pinch). Each gesture may require any combination of states for any fingers. I tried to use generous states (like "not folded" which means "neutral or straight") but with fingers jumping when there's no clear view on hand I had to rely on actual states.

There's still a lot of stuff that can be done to improve it but some issues won't be solved by the game (when no tracking info is provided) and I am not sure if those issues can be solved at all.

Still, hand-tracking can be used by other kinds of games. Shooters are not the best option, mostly due to jitteriness, although with some aim assist (Pistol Whip does that pretty well) it could be ok. Fighting games are out of question. If you hold your hands too close, no tracking info is provided. If you try to punch, your wrist obstructs fingers and system has no idea where your hand is. Again, no tracking info. I think that some magic related game, possibly non-combat, in which finger movement could affect how strong is a spell or add some features to it (example: arms waving required to summon a creature could be the same, but by doing it with fists, you could summon a golem, moving fingers quickly could result in a fire demon etc).

Oh, I finally plugged in Oculus Rift S (I also upgraded my computer a bit) and it works fine :( which means I still have to find a bug that prevents some Rift S from playing Tea For god.

Now I want to create a mini update, focused only on Apparatus Grid and EXMs (a result of some great feedback - if you have any problems, ideas, please feel free to contact me). And after that - tutorials!

Files

  • v 0.4.5 (#205) 36 MB
    Jan 29, 2020
  • v 0.4.5 (#205) - Oculus Quest APK 33 MB
    Jan 29, 2020
Download Tea For God
Read comments (3)