Allow StreamingEnabled to use camera instead of character

There should be a StreamingEnabled property which streams based on the camera, rather than the character.

Currently, any games that move around without a character cannot use streaming. Any cutscenes that use a moving camera will have to hackily move the character or environment to ensure it all streams, which often defeats the purpose of streaming, and can add unnecessary server load.

5 Likes

Thanks for the request! Have you tried using Player.ReplicationFocus? If you set the replication focus to be the camera instance on the client it should work as you’ve described. If you want to set the replication focus from a server script, you won’t be able to use the client’s camera because it isn’t replicated, so you need to choose something that the server knows about.

10 Likes

Thanks, I didn’t know about this API!

2 Likes

This topic was automatically closed after 9 days. New replies are no longer allowed.