Hey guys, first of all sorry for making these basic questions. I'm making a 2d game and I wanted to understand how things work.
First of all the character controlled by the player needs to push a box when he collides with it. Does the box have to be a dynamic or static entity? I guess dynamic.
Secondly there will be entities that will hurt the player on collision (kinematic / static like traps and dynamic enemies). How do I check if there is a collision between two entities so that I can lower the hit points of the player?
thanks a lot!
First of all the character controlled by the player needs to push a box when he collides with it. Does the box have to be a dynamic or static entity? I guess dynamic.
Secondly there will be entities that will hurt the player on collision (kinematic / static like traps and dynamic enemies). How do I check if there is a collision between two entities so that I can lower the hit points of the player?
thanks a lot!