[BUG] Fix collision detection algorithm #57
Labels
OS: Any
Occurs on any platform
Topic: Module
Bugs or enhancements to do with PyUnity code
Type: Bug
Something isn't working
Milestone
Is there an existing issue for this?
System info
Describe the bug
Physics is broken, when two cubes collide head-on they collide into each other
Collision point is offset by 1 unit in the Z axis in example 2
Example 3, red cube has infinite inertia yet it still rotates
To reproduce
Run examples 2 and 3, observe
For example 2 pressing Space and R starts and resets the cubes respectively
Code
No response
Traceback
No response
Additional context
Using GJK and EPA algorithm, pretty expensive and still doesnt work
The text was updated successfully, but these errors were encountered: