]> git.tdb.fi Git - libs/game.git/commit
Add an event for collisions between rigid bodies
authorMikko Rasa <tdb@tdb.fi>
Sun, 13 Apr 2025 13:51:05 +0000 (16:51 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 14 Apr 2025 10:17:49 +0000 (13:17 +0300)
commitc1940971ed80bf6cfe73e076285f283c806fbc9c
tree222e21921576117db181ab9c3b249a4c0f617cfd
parentcfc95ba27f3c5e8acdbb9ed0cc2bbe262dc33d10
Add an event for collisions between rigid bodies

RigidBody now takes a setup with a flag to enable collision reporting.
examples/playground/source/fixture.cpp
examples/playground/source/setups.mgs
examples/playground/source/toy.cpp
source/game/events.h
source/game/physicssystem.cpp
source/game/physicssystem.h
source/game/rigidbody.h
source/game/setups.mgs