Adding TankMovement in by +Add Component

So i did not go very far with this, but i was wondering why we didn’t add the TankMovement component in the BP by putting ClassGroup = (Custom), meta = (BlueprintSpawnableComponent) in the UCLASS of the TankMovementComponent.h? This way we could have just used the +Add Componenet button in UE and add it ourselves. You’re instantly able to access TankMovementComponent in the graph after that, instead of having to add the Subobject. I did not follow to see if there were any other errors i would have dealt with later, but it was something i noticed in the challenge. Could anyone explain that to me?

Privacy & Terms