Eye tracking?

Does anyone know if eye tracking is supported in Godot or if it will be added?

11 points · 5 comments · view on lemmy.world

5 Comments

QueenOfSquiggles@lemmy.one · 5 pts · 3y

I'm fairly certain it isn't, at least in the core engine. The dev team works really hard to make sure every feature going into core is:

  • useful for many/most users
  • impossible to create otherwise
  • has significant community demand.

Things like eye tracking are more likely to be done in add-ons, GDExtension, and the like. You'd have better luck looking for an addon or C++ library that could get integrated

Feyter@programming.dev · 4 pts · 3y (1 reply)

This is kinda specific questions. Can I ask what you want to do with Eye Tracking in Godot?

I don't know any game that is using this.

unimalion@sh.itjust.works · 4 pts · 3y

I would like to get the eye tracking information from a quest pro. I think it would be better for navigating ui in VR and I want to make a wizard game where spells go where you're looking or lock on to what you're looking at.

sleepyTonia@programming.dev · 2 pts · 3y

For starters, cameras are only supported on iOS/macOS as far as I know. Someone wrote a python script to do face tracking and send the information to Godot via TCP a while back, maybe you could take inspiration from this?

aes@programming.dev · 1 pts · 3y

I was talking to some people from a company that makes an eye-tracking thing and apparently it's really hard to do with precision, so it's unlikely that any hardware you're willing to pay for is going to do what you want.