hello cute Unreal group! I am from Argentina and I really like this world of Unreal. I’m making a little game, the idea of the game is that when I press the right key on the keyboard, a copy of a sphere appears (example of a 3d object). If I keep pressing the right key again a third copy appears (if it can be located randomly in the world the better), and so on. Also when the left key of the keyboard is pressed, a copy decreases, and so on. And finally also that it indicates with text the number of spheres that are on the screen (as if it were a counter). I tried with Blueprint as it is in the image but I would need to see with which blueprint I can copy the sphere and subtract again depending on whether I press the left or right key on the keyboard, thanks to all!
It sounds like you have never programmed before, and if so you should probably look at some tutorials.
To do what you want, you would SpawnActor of class Static Mesh Actor, add that to the end of an array, set the static mesh to a sphere, and make an appropriate transform. To delete one, you find the element at the end the array, and then destroy it. To get the number on screen, you can use Print String for now.
Hello, thank you very much @Midisport_8x8s ! I know how to use Unreal the basics to compose in 3D and very basic using Blueprints in which I’m lazy. I’m watching tutorials to see if I can get better at programming using Blueprints as it’s the magic part of this program. I will try what you tell me and thank you very much!