Mattshark89 / OpenFlight-VRC

MIT License
46 stars 33 forks source link

[Feature] Support world-based updraft objects #22

Closed madkat closed 1 year ago

madkat commented 1 year ago

Had requests from guests to my world to have updrafts. Makes the most sense to integrate the concept into OpenFlight.

This PR introduces updraft scripts and support for updrafts in the core flight system. In order to create an updraft in a world, a world creator only needs to attach an updraft script to a trigger area, set the flight system GameObject on the updraft, and set the strength on the updraft.

The implementation on the core flight system has a beta flag for controlling feature state. The calculation for updrafts was based on the flapStrength() calculations, so it is impacted by avatarModifiers if enabled.

Sample video of the updraft feature in use: https://www.youtube.com/watch?v=E5eJK5q3sg0

Happyrobot33 commented 1 year ago

This is actually already being worked on in the extensions-preview branch

Happyrobot33 commented 1 year ago

I am not negating this pull request, rather requesting you change your branch to extensions-preview and continue development there, expanding on the existing codebase there. if you need help let me know, you should really join the discord by now https://discord.gg/XrJsUfwqkf

extensions-preview hasnt been merged yet mostly because it needs testing and some refinement before being considered ready for release