Search found 2 matches
- Tue Sep 06, 2022 1:51 am
- Forum: Support and Development
- Topic: Windfield physics not working properly?
- Replies: 2
- Views: 2431
Re: Windfield physics not working properly?
Yeah,I defined them all after I created my physics world like this. They do work sometimes but not all of the time. world:addCollisionClass('Player') world:addCollisionClass('Wall') world:addCollisionClass('Enemy', {ignores = {'Player'}}) world:addCollisionClass('Weapon', {ignores = {'Player'}}) wor...
- Sat Sep 03, 2022 9:59 pm
- Forum: Support and Development
- Topic: Windfield physics not working properly?
- Replies: 2
- Views: 2431
Windfield physics not working properly?
Is anyone else having issues with the windfield physics library not working? For example, my character can go through walls, which are static and a collision class. function spawnWalls(x, y, width, height) if width > 0 and height > 0 then local wall = world:newRectangleCollider(x, y, width, height) ...