-
I am trying to get this library to work in my own project, but somehow I cannot even get the example to work. I have created a new project, copy pasted the examples/gltf.rs to main.rs.
My
I have copy pasted the assets folder. Using |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I have the exact same problem! |
Beta Was this translation helpful? Give feedback.
-
I can confirm that it doesn't work with version 0.15 in another project. If, for the copied version, I use the git version though, it works like a charm.
Not sure what's going on, after checking the commits that are not in v0.15.0 @aevyrie Is a new release needed maybe? |
Beta Was this translation helpful? Give feedback.
-
The issue is you are copying the example from https://github.com/aevyrie/bevy_mod_picking/blob/v0.15.0/examples/gltf.rs The difference is that raycast markers are no longer required, which means that using the example from 42718da#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR3-R7 These are the lines that were removed on main: |
Beta Was this translation helpful? Give feedback.
The issue is you are copying the example from
main
, which is not compatible withv0.15.0
, there have been breaking changes since that release. You need to copy the example from thev0.15.0
tag:https://github.com/aevyrie/bevy_mod_picking/blob/v0.15.0/examples/gltf.rs
The difference is that raycast markers are no longer required, which means that using the example from
main
is not going to work on the0.15
release of the plugin. See the changelog notes here:42718da#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR3-R7
These are the lines that were removed on main:
42718da#diff-ec24d799681fb63c7d74bebbea39f99b1782f5a4c84cd7ece0c147c418274477