Collision of rectangles with a masses (2d space)

  • Thread starter Thread starter bazelboday
  • Start date Start date
  • Tags Tags
    Collision Space
Click For Summary
SUMMARY

The discussion focuses on the implementation of collision detection between rectangles and circles in a 2D space simulation. The user has successfully managed the collision dynamics for circles but seeks guidance on mathematically describing rectangle collisions. They mention the concept of moment of inertia in rotational motion but are unsure how to apply it to their project. The user expresses frustration with existing mechanics literature, finding it overly abstract and formulaic.

PREREQUISITES
  • Understanding of basic physics principles, particularly dynamics and statics.
  • Familiarity with collision detection algorithms in 2D space.
  • Knowledge of moment of inertia and its application in rotational motion.
  • Experience with programming in a language suitable for game development, such as JavaScript or Python.
NEXT STEPS
  • Research mathematical models for rectangle collision detection, focusing on axis-aligned bounding boxes (AABB).
  • Explore physics engines like Box2D or Matter.js for built-in collision handling.
  • Study the application of moment of inertia in collision response calculations.
  • Learn about impulse-based collision resolution techniques in 2D physics simulations.
USEFUL FOR

Game developers, physics simulation enthusiasts, and anyone interested in implementing collision detection in 2D environments.

bazelboday
Messages
1
Reaction score
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 )
 
Physics news on Phys.org
Thanks for the post! Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post?
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
10
Views
3K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
7K