
IWorldView cannot be attached to entities and move along with them...
TheTemportalist opened this issue ยท 4 comments
Why not?
Since it gives you a texture id, you can render it whenever you like.
(I might be saying something wrong, I don't know if the LookingGlass API changed since I used it)
I think they are talking about the fact that the location of the world view can't be bound to entities.
It would be kind-of possible if the view is from the same dimension as you're in, but I don't think at all possible right now if it's in a different dimension.
Both previous comments are correct, depending on which direction you mean.
The texture can be rendered as you like, no issue.
The render source/camera cannot be attached to entities in other dimensions locally, as the client has no knowledge of those entities.
However, you can build an animator to update the camera position and rotation based on either an entity position (if you have that info client side) or using information you send from the server yourself.
This isn't an issue with LookingGlass. You'll need to determine how you want to handle it.
in the future, entities can be synced to clients via LookingGlass and this might get easier, but even then this will be up to you to do.