My Building Escape after Using Collision Volumes lecture

Hi There,

In this lecture, we use the Trigger Volume to open the doors in our scene. Cool right?

Here is the code and the UE Editor-

UE Editor(Before Play)-

UE Editor(After play)-

Strange, the door is not opening. This is because we haven’t moved in the Trigger Volume yet.

Remember to edit it in the Editor.

This is you in the game-

Your name is Default Pawn, attach it-

Now that we’ve attached the door will still not open unless you moved in the trigger volume

Not in Trigger Volume-

The doors are not open yet

In the Trigger Volume-

Bravo!! It opened.

VS code-

c file-

c++ file-

Go ahead and enjoy the lecture, it’s really good.

P.S. - remember to attach a pressure plate to both doors, or else UE will crash. It is because you have to dereference pointers if you’re dereferencing a null pointer(a pointer that points to nothing)
UE will crash without any useful error messages.

Previous post: My Building Escape after Trigger Volumes lecture - #3 by TP_MakeGames

Thanks for reading,
BYE!!

2 Likes

You’re making great progress. Looks good too. Thanks for sharing.

1 Like

Thanks!! Replies and like like these keep motivating me to go further in the course.

Privacy & Terms