Search found 5 matches
- Sat Jul 29, 2023 4:04 pm
- Forum: Support and Development
- Topic: Sensor but with collision
- Replies: 11
- Views: 2655
Re: Sensor but with collision
I would recommend using love.physics that allows sensors. Sensors will still trigger onCollision callback, but won't affect physics, so you are all set. Sensors do not allow for any physical collisions, but they do call onCollision callbacks, I still need the option to make entities collide with wa...
- Sat Jul 29, 2023 8:31 am
- Forum: Support and Development
- Topic: Sensor but with collision
- Replies: 11
- Views: 2655
Re: Sensor but with collision
I've found the post with the same question, although there wasn't an answer there in the end https://love2d.org/forums/viewtopic.php?p=241751 The only viable solution seems to be making something like my own category bits in userData of fixture and then checking then at collision and disabling it. B...
- Sat Jul 29, 2023 8:26 am
- Forum: Support and Development
- Topic: Sensor but with collision
- Replies: 11
- Views: 2655
- Sat Jul 29, 2023 8:07 am
- Forum: Support and Development
- Topic: Sensor but with collision
- Replies: 11
- Views: 2655
Re: Sensor but with collision
I would recommend using love.physics that allows sensors. Sensors will still trigger onCollision callback, but won't affect physics, so you are all set. Sensors do not allow for any physical collisions, but they do call onCollision callbacks, I still need the option to make entities collide with wa...
- Tue Jul 25, 2023 7:22 am
- Forum: Support and Development
- Topic: Sensor but with collision
- Replies: 11
- Views: 2655
Sensor but with collision
I'm using built in physics engine for physics in my game, but I found out that there's either option to have no physical collision at all but detecting them (being a sensor), or having categories and groups support but no option to turn off physical collision (besides manually setting to each contac...