Comments (4)
Ah, I see. This would be easier if there was a function directly on the camera that would do the calculations for you, but since we are switching to Bevy's renderer, that would mean that you would just do it however Bevy does it, so I think we won't worry about adding a feature for it here.
As soon as I get the chance, I'll give you a code sample showing how to get the world position, after I test it and make sure it works. :)
Feel free to ping me if I don't respond within the next couple days or so!
from bevy_retrograde.
OK, so in the currently released version of Bevy Retrograde this is pretty much a math nightmare and I don't have a solution for it right now.
The way that I designed the current renderer is just horrible for this and it should be way simpler, so it is another good reason for moving to Bevy's renderer.
Unfortunately right now I think the best option is to try to use the experimental version of Bevy Retrograde, but that requires using both Bevy Retrograde and Bevy itself from unreleased git versions. Both of which are unstable, especially the rendering because it uses Bevy's new work-in-progress renderer.
Then you'd have still to find out from the Bevy folks ( because I haven't done it yet ) how to get the world position of the cursor. And I'm not sure I'll have time to help with the experimental version of Bevy Retrograde, so you might just get stuck on that anyway.
I'm sorry to say there isn't a great option for this right now. Sorry I couldn't help more! It should be resolved eventually when the new version of Bevy comes out, and I have time to update Bevy Retrograde after that, but I'm not sure when either are going to happen.
from bevy_retrograde.
No problem at all, appreciate you taking the time to look into it
from bevy_retrograde.
@zicklag Sorry to nudge, I'm sure you're busy, but I'm totally stuck with this one
from bevy_retrograde.
Related Issues (20)
- Can't build a minimal project HOT 1
- đ MacOS Support HOT 2
- đ¤ A New Name? HOT 1
- đĨ Migrate To Bevy's Renderer ( + MacOS Support đ ) HOT 2
- use of unstable library feature 'assoc_char_funcs': recently added HOT 2
- failed to get `heron` as a dependency of package HOT 6
- overall polishing needed HOT 6
- đ Alternative Pixel Filtering Modes
- đ¨ Improve Epaint Rendering HOT 1
- I've tried to compile "Hello, World" example, but "translation" seems to be missing from SpriteBundle. There is a position component, though. HOT 4
- Examples not rendering HOT 2
- đ assertion failed: `!gl_dx_interop_device.is_null()` HOT 4
- đ Double window on startup (windows 10) HOT 2
- Project development HOT 3
- Problem with the Ldtk loader when running from another project HOT 3
- Support Bevy v0.7 HOT 5
- Integrate Egui UI HOT 3
- Prepare For 0.3 Release HOT 1
- đĨ Add Camera Utilities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bevy_retrograde.