- #1
bazelboday
- 1
- 0
i'm trying to make a simple programme which emulates the behave of collision between circles and rectangles. It looks like we have a box with rectangles and circles inside with which we are able to interract by clicking on them with mouse and drag across the screen, hit another objects( rectangles or circles) and throw.
I've have done the easiest part as you can guess - the collision of circles. it is includes dynamics and statics between the circles.
the question : i don't know how to describe the collisions of rectangles mathematically.All i know that there is a Moment of inertia which is like a mass in rotatioal motion but don't know how to apply it to my task.
my efforts: I've tried to read some books about mechanics but it is just like a summary of formules, and the books is very abstractive
i would appreciate any advice on that question.
P.S. sry for my english, working on it )
I've have done the easiest part as you can guess - the collision of circles. it is includes dynamics and statics between the circles.
the question : i don't know how to describe the collisions of rectangles mathematically.All i know that there is a Moment of inertia which is like a mass in rotatioal motion but don't know how to apply it to my task.
my efforts: I've tried to read some books about mechanics but it is just like a summary of formules, and the books is very abstractive
i would appreciate any advice on that question.
P.S. sry for my english, working on it )