Im currently thinking about creating a simple sidescroller game in C++, have gathered a few useful assets, but Im unsure about a particular design decision with regards to handling game objects.
When I create a character in game, they will need a sprite sheet covering all of the animations they can go through. Once this is loaded into memory, the image can then be assigned pose by pose to individual sprites which can be drawn individually case-by case. (ie the main loop just calls a draw function, which gets the right sf::Sprite based on the current animation state & draws it
The thing I'm not sure about is how best to handle the positioning of the sprites origin, ie should it be located at wherever the characters center of mass is at each image, or should it be at the very bottom of the sprite (at the characters feet)
The gist of my question is whether its easiest in this case to model a character as a physical object with their position denoted at their center of mass, or simply at the characters feet.