Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eat items (Omnomnom) - v1 #143

Open
5 tasks
JaXt0r opened this issue Sep 24, 2024 · 0 comments
Open
5 tasks

Eat items (Omnomnom) - v1 #143

JaXt0r opened this issue Sep 24, 2024 · 0 comments

Comments

@JaXt0r
Copy link
Contributor

JaXt0r commented Sep 24, 2024

Description

We can't consume items in VR as of today. But it would be great to empty Gomez kitchen and eat all his 🧀 🍖 🍄 🥄

Out of scope

v1 is only an ambient feature where the mesh disappears with eating sound when consumed. No inventory management in player properties or other things need to be done.

Tasks

  • Add collider in front of VR players mouth
  • Add collision detection component when VOB item enters
  • Load eating sound (might be in a specific animation) and play it on the Players AudioSource component (fetched from NPC properties.Audio)
    • Hint: there are different sounds based on item type like drinking, munching, ... (fetch type from ItemProperties)
  • Fetch sound length before playing and remove GameObject from scene when done.
@JaXt0r JaXt0r converted this from a draft issue Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant