How do I make squares rotate when they collide at oblique angles?
1 view (last 30 days)
Show older comments
If I run two or three squares into each other in a simulation in MATLAB, what is a good way to code them to be hard-sided (avoid overlaps) and to rotate appropriately on collision if they start out with dissimilar random orientation and position?
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!