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
- v2.1.0 Release69 days ago
- 2.0 Release79 days ago
- Dev Update 11 - Gapped Outline & Scaled LineAug 08, 2024
- Shape Engine 1.0 ReleaseMay 29, 2024
- Dev Update #10 - UI 2.0May 23, 2024
- Dev News - Word Emphasis 2.0May 17, 2024
- Dev News - Helldivers vs AsteroidsMay 01, 2024
- Dev News - Shape ProjectionApr 17, 2024
- Dev News - Pathfinding 3Apr 03, 2024
- Dev Update #9 - Pathfinding 2Mar 20, 2024
Leave a comment
Log in with itch.io to leave a comment.