Why can't i add Tank C++ class to a static mesh

i can add Actor C++ class to a static mesh(Door) or BP in the previous chappter but Why i can’t add Tank C++ class to a static mesh in this chapter?. thank you.

Could you explain what exactly you mean? Screenshots of both would help.

  1. I can add the Grabber C++ class in last chapter. please refer:
  2. But I can’t add the Tank C++ class in this chappter. Please refer
    We can’t find the tank class.

    Thanks so much.

UGrabber is a UActorComponent, you need to attach it to an actor.
ATank is an actor, not a component.

Actors are things that you can place in the world.
Components are things you attach to actors.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms