Hi everyone,
I use tiled maps with the sti+bump combo. The collisions seem to be well handled for characters+environment tiles, but when I try to handle character+character collisions, the collision seem to happen when they not actually touching. I don't see where the issue come from. I tried to simply return "slide" in the function handling collision (MoveCharacters:unidirectional_Col in ecs/systems/moveCharacters.lua), and they collided well (there wasn't space between my player et the enemies when they collided).
Also, I try to use ECS for my project, so if you see architecture mistakes, let me know.
Thank you
STI+Bump = collision issues
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
STI+Bump = collision issues
- Attachments
-
- test.love
- (2.14 MiB) Downloaded 197 times
Who is online
Users browsing this forum: Bing [Bot] and 0 guests