Sorry if this question was. Just starting to learn the engine. There is a cube-player(Pawn), there is a door(Pawn). How to play the cube to press the button and open the door? If I call GEngine-messages directly, everything works. But when directly changing the rotation of the door writes an error ‘this == nullptr’. I use the import of the door to the cube-player and call the opening function in cube-player:
class ADoor* Door;
Door -> OpenDoor();
What should I do to make it work?