First please consider i am a beginner
I’trying a simple game where the player and the ai can grab(with physicshandle) any physic object and launch It. Tio find the object the ai makes a sweep multyby objecttype and chooses a random object. Than the BB variabile is updated and so on.
But this way the ai will try and pick Also the physic object that is altready taken by another pawn.
I can’t think of a way to avoid It other than making a calss for the physic object with some variabile in It, but than i should check it every tick and cast It.
Now i’m shure there is a much better way, Isn’t It?