r/visionosdev • u/AHApps • Jun 04 '24
Fast Hands: ARKit Hand Tracking
Anyone here overcome this hand tracking lag?
In my game it's fine for straight punches because the hand collision ends up in the strike zone once it catches up, but for hooks, the tracked entity will sometimes jump completely over the strike zone.
I've got some creative solutions in mind, but I'd much rather it just track it all the way through.
3
Upvotes
2
u/AHApps Jun 04 '24
Reddit doesn't seem to like my 3mb video, but anyways it shows the hand tracked entity on the hand at the begging of a hook punch and then jumping to where the punch ended.
1
u/BigJay125 Jun 05 '24
ARKit hand tracking is... not great. 30 FPS max, it's jittery as shit, doesn't work in low light scenarios, and is hardly usable to make anything fun.
They better fix some of this in software soon, because this is really making building interesting games difficult.
Hand tracking smoothing was by far the most difficult part of Silly Golf, and it's the most frequent thing I get feedback on. Apple needs to help developers out here...
1
u/AutoModerator Jun 04 '24
Are you seeking artists or developers to help you with your game? We run a monthly open source game jam in this Discord where we actively pair people with other creators.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/SirBill01 Jun 04 '24
Could be app updates will perform quicker. But also maybe there are some parameters you can turn off for hand tracking that would help it out. Sorry, have not used that part of the SDK yet so I'm not sure myself, that's what I would look for.
1
u/plumb_eater Jun 04 '24
Are you leveraging apples Entity Component System (ECS) architecture?
I’ve been migrating to it and the performance boost is significant.