i’m approaching a soccer game in blender the oop way so i’m currently faced with the difficulty of how to initialize these objects
So here are my classes
This class is constructed by a mesh object and a text plane and ofcourse the players name. Now i’m looking for a way of creating many instances with player meshes as cubes.
The firs approach i took was to create an external file containing all the names for my instances and use a loop to instantiate my players but my constraint comes now to how to create those cube objects to go along with eac instance and i’ll need to create varying attributes for each player in the near future.
This class instances itself by searching for players with a specific team name and appending it to its ‘TeamPlayerList’ and when a match begins the players are put on the field according to the teams formation
Any tips and maybe even class suggestion to handle specific functionalities.?