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

Add triangle collisions #7

Open
Bartanakin opened this issue Oct 20, 2024 · 0 comments
Open

Add triangle collisions #7

Bartanakin opened this issue Oct 20, 2024 · 0 comments
Labels
Medium Scale of knowledge of the project requirement Time-demanding Scale of workload requirement

Comments

@Bartanakin
Copy link
Owner

We want to add a new type of Hitbox, namely TriangleHitbox.

We have to add:

  1. a new class inheriting from HitboxInterface similarly to Barta::AABB_Hitbox
  2. In classes AABB_Hitbox and CircleHitbox methods "intersectsWithTriangle"
  3. three new visitors similarly to "CircleAABBCheckCollisionVisitor", but those visitors are to handle collisions with triangles.
  4. maybe some tests?

You can use this book as the knowledge source -> https://www.r-5.org/files/books/computers/algo-list/realtime-3d/Christer_Ericson-Real-Time_Collision_Detection-EN.pdf

@Bartanakin Bartanakin added Medium Scale of knowledge of the project requirement Time-demanding Scale of workload requirement labels Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Medium Scale of knowledge of the project requirement Time-demanding Scale of workload requirement
Projects
None yet
Development

No branches or pull requests

1 participant