Skip to content
Discussion options

You must be logged in to vote

Sure thing, it's:

entt::view<entt::get_t<position, const velocity>> view = registry.view<position, const velocity>();

See here for example. Also, thanks for pointing out that the documentation is wrong on this. Sorry for that. 👍

Replies: 1 comment 1 reply

Comment options

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

Answer selected by SC5Shout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question open question discussion it sounds interesting, let's discuss it
2 participants