Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 720 Bytes

ideas.md

File metadata and controls

22 lines (19 loc) · 720 Bytes

Ideas

  1. Use interpolated rotation
  2. Allow sparse maps
  3. Add GJK

Continuous 2D Collision Detection

  1. Prune collisions by using sweep-and-prune
  2. Use boolean GJK (bgjk)
  3. Take two shapes defined by vertices
  4. Add movement to vertices get new position
  5. For each such pair (old_x, old_y) and (new_x, new_y) create (old_x, old_y, 0) and (new_x, new_y, 1).
  6. Run bgjk on the shapes
  7. If true we have collision
  8. Obstacles: do not move if there is collision. Else move
  9. Items: interact

Continuous 3D Collision Detection

  1. Prune collisions by using sweep-and-prune
  2. Use 4D boolean GJK (bgjk4d) to determine intersections using continuous motion

Collision Resolution

This has to be worked out