I was curious as to what is considered good practice when it comes to dividing responsibilities between the Controller and the Pawn. Also, the “game handler”, if you make one.
For example, handling death. Let’s say your player avatar dies and gets destroyed when he touches X.
- Should that collision be handled in the controller or the pawn?
- Should the death event and the destruction of the pawn be handled by the controller or the pawn?
- …If the pawn, should the controller handle spawning a new avatar pawn, or should that be deal with by a “game handler”?
That’s just an example. But overall, how “should” things be divided?