Greetings all,
I am trying to figure out how to trigger a conditional event based on a collision happening between the player and another object. I’ve been trying to go through the documentation to understand how I might go about this, but, the documentation hasn’t been super helpful for me… I’ve also looked through the examples and i can’t seem to find anything there either (maybe I am blind?)
This is basically how I need the logic to go down
if (playerCollidesOrOverlapsWithObject)
{
isTouching = true;
}else
{
isTouching = false;
}
so that I may do this
if (isTouching == true)
{
run code for this particular collision
}
Thanks you in advance and I apologize for such a newbie question.