Code Monkey home page Code Monkey logo

Comments (5)

RobKohr avatar RobKohr commented on July 26, 2024

Thanks for opening this issue for me! In the mean time, I might just have users plant markers to mark of the bounds for the game manually.

from godot_openvr.

beniwtv avatar beniwtv commented on July 26, 2024

We could add that API the same way we added other OpenVR APIs (like the overlay stuff), but I am not sure if other VR systems have a similar system and it would be better to make a driver-independent solution?

from godot_openvr.

NeoSpark314 avatar NeoSpark314 commented on July 26, 2024

In the Oculus Mobile Plugin this is implemented here: https://github.com/GodotVR/godot_oculus_mobile/blob/master/src/config/ovr_guardian_system.h . But so far only the function to query the bounding box that fits into the boundary is implemented (get_boundary_oriented_bounding_box). It returns an array with a [Transform, Vector3]; Maybe the same would be possible for OpenVR?

from godot_openvr.

BastiaanOlij avatar BastiaanOlij commented on July 26, 2024

Yup, I agree, it should just be a class implemented in the plugin that exposes the logic.

For Godot 4 enhances once we start working on those I want to add an abstraction for this so there is just one boundary class in Godot that queries the plugin for boundary information and it will work cross platform. But for Godot 3 let's just stick with the approach we did with Oculus Mobile.

I might do this over the weekend.

from godot_openvr.

BastiaanOlij avatar BastiaanOlij commented on July 26, 2024

This was done through #83

from godot_openvr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.