Skip to content
Discussion options

You must be logged in to vote

My guess would be that this is because your assets is of type Assets<Gltf>, but to get the asset from floor_option_unwrapped, you would need Assets<GltfNode>.

(To be honest, I was surprised that this compiled, although looking at Assets::<T>::get::<H>, it appears that H does not need to be a Handle<T>, for reasons unknown)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YourRentIsDue
Comment options

Answer selected by YourRentIsDue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants