• over_clox@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    4 days ago

    Hitboxes didn’t even exist in my early prototype 3D game engine. I literally had it calculate collisions based on the original 3D models.

    It’s not even hard, just calculate every line from one model with every polygon from the other model you’re testing for intersection.

    Not hard, but gets very computationally intensive.