rework collision_t component into a more wholistic physics_t component #11

Merged
Sara merged 7 commits from object-physics into main 2023-06-26 15:28:34 +00:00

a properly configured physics_t component in an object in the world should allow the object to be moved around with collision.
The interface should be minimal, just set the velocity and call a move function.

this->physics.velocity_x = 1;
this->physics.velocity_y = 0;
move_and_slide(this, delta_time);
a properly configured physics_t component in an object in the world should allow the object to be moved around with collision. The interface should be minimal, just set the velocity and call a move function. ``` this->physics.velocity_x = 1; this->physics.velocity_y = 0; move_and_slide(this, delta_time); ```
Sara added 1 commit 2023-06-25 10:46:27 +00:00
Sara added 4 commits 2023-06-25 16:13:54 +00:00
Sara added 1 commit 2023-06-25 16:16:20 +00:00
Sara force-pushed object-physics from 2af80825a3 to 20ca626acf 2023-06-25 16:18:25 +00:00 Compare
Sara added 1 commit 2023-06-26 15:25:14 +00:00
Sara merged commit ac722f6e5f into main 2023-06-26 15:28:34 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sara/basic-game-framework#11
There is no content yet.