#Custom entity collider
1 messages · Page 1 of 1 (latest)
You were the user Who had the problem about the hitbox?
yes
it's still a bit broken, sometimes the collision doesn't register for some reason. but getting there 🙏
I have been trying to do something like this for a while then I gave up and work on a compromise
maybe i'll turn this bit here into its own api or coremod
it would be just a matter of a custom entity implementing an interface that has something like List<VoxelShape> getColliders()
Just collision, or also hitboxes?
I would love that! The way DragonParts are handled currently is pain to re-implement.
YES PLEASE bc I have an entity I want to make using this exact tech but stopped bc it was too hard
hitboxes too i should hope. i only used this to implement collision for now
now rotate it around y axis
Never bothered to actually post about it, but this is what I got from trying to implement something close enough. I use it for my Useless Reptile mod and so far works fine (at least in terms of crashes)
https://github.com/NordAct/Primitive-Multipart-Entities
I will try that out some time. Bookmarked, thank you!