this post was submitted on 16 Jun 2023
7 points (88.9% liked)

Godot

5692 readers
25 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

!roguelikedev@programming.dev

Credits

founded 1 year ago
MODERATORS
 

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

top 5 comments
sorted by: hot top controversial new old
[–] QueenOfSquiggles@lemmy.one 5 points 1 year ago

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

[–] sleepyTonia@programming.dev 3 points 1 year ago

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?

[–] Feyter@programming.dev 2 points 1 year ago (1 children)

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 1 points 1 year ago

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.

[–] aes@programming.dev 1 points 1 year ago

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.