Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pondering Non-Axis-Aligned Entity Hitboxes #300

Open
Arathain opened this issue Apr 29, 2023 · 2 comments
Open

Pondering Non-Axis-Aligned Entity Hitboxes #300

Arathain opened this issue Apr 29, 2023 · 2 comments
Labels
discussion enhancement New feature or request library: entity Related to the entity library.

Comments

@Arathain
Copy link
Contributor

What it would have to entail:

  • Allowing for non-AABB collisions within MC (big fella, this one)
    • Either done via a workaround, or do some cursed magic with voxelshapes and pray it works
    • At least the math itself has plenty of previous material to draw on, I s'pose
  • creating an EntityPart interface? class? that allows for full rotation (presumably via a single assigned quaternion, or potentially just pitch/yaw)

What might be worth considering:

  • Joint parenting?
  • Spheres?
  • Non-cuboid collision shapes
  • Extending to regular entity hitboxes?
  • Separating/standardising hitboxes as target affectors/damageable/collidable/etc
@Leo40Git Leo40Git added enhancement New feature or request discussion library: entity Related to the entity library. labels May 3, 2023
@Arathain
Copy link
Contributor Author

Arathain commented May 5, 2023

In addendum - capsule colliders could work really well here, and be simpler to implement, even though it sounds really cursed within the confines of MC

@Gaming32
Copy link

Gaming32 commented May 9, 2023

This sounds really useful. For example, it would be really useful for turrets in Portal Cubed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request library: entity Related to the entity library.
Projects
None yet
Development

No branches or pull requests

3 participants