Hey guys I'm working on my assignment, Clara. And she goes through trees, I don't know to set up collision so she doesn't go through them. The scene is in a Pacman scenario and don't know what to type please help. This is my code so far:
public void avoidTrees()
{
if(treeFront())
{
getDirection();
}
}
