Posted March 17, 20196 yr Hello, I created quite large entity which can be ridden by 32 players, however I found issue with it's rendering... When I'm looking around the entity it stops rendering under some angles. I have tried setting it's size to big number to cover whole entity so when you look at the entity you should be able to see it's bounding box. That didn't help. Is there some way to get around this? I could post some code, but I think this is built in somewhere in Minecraft by default.
March 18, 20196 yr This is most likely caused by the Entity's Frustum culling. Don't have access to a workspace right now, but there should be a boolean along the lines of ignoreFrustumCheck that you can set to true in your entity's class that has been inherited from the base Entity class. Edited March 18, 20196 yr by Matryoshika Also previously known as eAndPi. "Pi, is there a station coming up where we can board your train of thought?" -Kronnn Published Mods: Underworld Handy links: Vic_'s Forge events Own WIP Tutorials.
March 18, 20196 yr Author 3 hours ago, Matryoshika said: This is most likely caused by the Entity's Frustum culling. Don't have access to a workspace right now, but there should be a boolean along the lines of ignoreFrustumCheck that you can set to true in your entity's class that has been inherited from the base Entity class. Okay, I have tried that, but my entity is still disapearing under some angles for some reason. I added that boolean into constructor and that's all. I've been looking into it's usage and it appears only the Dragon entity from Minecraft is using that and I did exactly the same implementation.
March 18, 20196 yr Entities are tied to the chunk. So if the chunk it's in is culled there is nothing you can do to make the entity render. You need to split your entity into multiple parts. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
March 31, 20196 yr On 3/18/2019 at 10:19 AM, LexManos said: Entities are tied to the chunk. So if the chunk it's in is culled there is nothing you can do to make the entity render. You need to split your entity into multiple parts. I have a similar problem, but my entity is really tall rather than (I'm assuming) really wide. Whenever I look too high, it completely disappears. I tried setting ignoreFrustumCheck to true, and I also tried overriding methods like shouldRender to always return true. I'm pretty sure it's not a problem with chunks. However, nothing has worked. Is there any way to fix this that doesn't involve creating multiple entities? Also, this might be related - the hitbox from F3 + B goes all the way to the top of the rocket, but only the bottom 4-ish blocks can actually be hit.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.