CodingTrain / CodingTrain/Suggestion-Box

Detect and resolve collission between capsule-shaped objects

Open
#1,770 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Heya,

I have been working on collision detection because I want to simulate growing bacteria. I actually got quite far (link and image below), but my code is a mess and I feel like Dan would do a much better job. Especially calculating the rotation of the overlapping capsules is a bit of a mess, and I think I'm not doing everything correct. I thought it would be a super cool coding challenge :)

https://jsfiddle.net/bramvandijk88/goad4m5v/
![image](https://user-images.githubusercontent.com/11132992/199063733-51d5c51f-c31e-4ba4-9b26-8f683d1deb98.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.