. . . Posted April 1, 2021 Share Posted April 1, 2021 (edited) my prefab has a very very BIG texture which aligns on the ground sort of like a huge rug and when the player's very zoomed in at certain angles if you just move away even though you should be able to see the rug still it just vanishes until you get closer to the middle of the prefab it which I assume is because things outside of the player's camera view get hidden? Is there a way to prevent this for certain entities? Maybe by keeping it awake or whatever at all times? It would be great if someone can tell me if it's possible to fix that because it's causing horrible visual glitches for my mod :/ Edited April 7, 2021 by --- -.- Link to comment Share on other sites More sharing options...
Hornete Posted April 1, 2021 Share Posted April 1, 2021 31 minutes ago, --- -.- said: my prefab has a very very BIG texture which aligns on the ground sort of like a huge rug and when the player's very zoomed in at certain angles if you just move away even though you should be able to see the rug still it just vanishes until you get closer to the middle of the prefab it which I assume is because things outside of the player's camera view get hidden? Is there a way to prevent this for certain entities? Maybe by keeping it awake or whatever at all times? It would be great if someone can tell me if it's possible to fix that because it's causing horrible visual glitches for my mod :/ You could make it so it doesnt unload. inst.entity:SetCanSleep(false) this could be dangerous though since this means the entity will NEVER unload no matter what. Maybe you can like do a periodic task to search in a large radius and if no players are near then you can set it to sleep. 1 Link to comment Share on other sites More sharing options...
. . . Posted April 2, 2021 Author Share Posted April 2, 2021 (edited) Unfortunately, it seems even with making entity not sleep it still vanishes if its prefab isn't "visible" in the player's FOV Thanks for helping though ! Edited April 2, 2021 by --- -.- 1 Link to comment Share on other sites More sharing options...
. . . Posted April 7, 2021 Author Share Posted April 7, 2021 bump Link to comment Share on other sites More sharing options...
penguin0616 Posted April 7, 2021 Share Posted April 7, 2021 Unfortunately, I believe this is controlled by the engine, and there isn't any way to change it. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now