Skip to content

Conversation

@AlexBezuska
Copy link
Member

Add basic collision resolution (intirim solution) does not use the new "collisions": {} we talked about, this is for existing "collisions": [] components.
This will make the tutorial game much easier.

Introduces the concept of "body" by requiring a "body" component on any "collidable" entity that the developer wants to resolve collisions. This is similar to the Unity concept of "rigidBody" which is an entity that is "solid" in the game.

trackLastPosition and resolveCollisions added
lastPosition is added as it's own components like int he tutorial game, this can be updates once we have "collisions":{} working.

Tested with starter project and works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants