Hi there.
Currently making a simple game where i have a character swimming around and colliding with fish. Currently, i have it setup so when i collide with anything, a log is output to the handleupdate() function in my character.cpp.
I want to make it so on collision with a fish a flag inside the fish header file is changed from false to true, causing it to not be rendered etc using “pObject->SetEnabled(false);”
I had a look on the documentation for physics and collision and the only things mentioned in detail are location of the object etc.
Currently I dont know how to grab the specific fish that im colliding with and apply that flag to that specific fish.
Thanks!