I cant give the code right now but I use constructorhelpers to get static mesh reference. Then I use setstaticmesh inside void Pistol. Problem is that it either crashes or doesnt do anything. When i set static mesh in constructor it works just fine.
I cant give the code right now but I use constructorhelpers to get static mesh reference. Then I use setstaticmesh inside void Pistol. Problem is that it either crashes or doesnt do anything. When i set static mesh in constructor it works just fine.