Skip to content

Add 2d collision physics#39

Merged
waynemwashuma merged 22 commits intodevfrom
physics2d
Feb 19, 2025
Merged

Add 2d collision physics#39
waynemwashuma merged 22 commits intodevfrom
physics2d

Conversation

@waynemwashuma
Copy link
Collaborator

Objective

Adds functionality to react to 2d colliding entities which are generated by the narrowphase through the Physics2DPlugin,update an entity's bounding box using the entity's body shape and updates the body to world space.
Currently only supports rigid body dynamics in which the bodies but there are some components e.g Softbody2D which can be used to add soft body physics later.

Adds a visual debugging plugin for the physics system which is used to debug body positions, collision contacts, body shapes and more(look into settings of Physics2DDebuggerPlugin)

Solution

N/A

Showcase

Will be added.

Migration guide

N/A

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@waynemwashuma waynemwashuma self-assigned this Feb 19, 2025
@waynemwashuma waynemwashuma merged commit ee08ec3 into dev Feb 19, 2025
@waynemwashuma waynemwashuma deleted the physics2d branch February 19, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:physics type:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant