Dev Update #2 - Polyline Collision
I am currently testing the new polyline collider shape and implementing the new one-way collision system for segments and polylines.
The new one-way collisions are only available for segments and polylines and allow other shapes to pass through one side without a collision. I am using the collision surface-normal and the velocity direction of the colliding shape to determine whether it can pass through or collides. If the surface-normal points in the opposite direction of the velocity then a collision occurs otherwise the object just passes through.
A nice side effect of this new system is that I can use it to restrict collisions when shapes are stuck into each other.
I will keep working on the polyline collisions next week and keep testing all the remaining shapes to make sure everything is working fine!
Thanks for reading :)
Dave Green
Get Shape Engine
Shape Engine
Simple 2d Engine focused on drawing shapes rather than using textures/sprites.
Status | In development |
Category | Tool |
Author | Dave Green |
Tags | 2D, Colorful, Game engine, Pixel Art, shapes, Singleplayer, Top-Down |
Languages | English |
More posts
- v3.0.0 Major Release3 days ago
- v2.4.0 Minor Release3 days ago
- v2.3.0 Minor Release3 days ago
- v2.2.0 Minor Release3 days ago
- v2.1.1 Patch Release3 days ago
- v2.1.0 Release95 days ago
- 2.0 ReleaseAug 29, 2024
- Dev Update 11 - Gapped Outline & Scaled LineAug 08, 2024
- Shape Engine 1.0 ReleaseMay 29, 2024
- Dev Update #10 - UI 2.0May 23, 2024
Leave a comment
Log in with itch.io to leave a comment.