Unreal Engine 4 C++ Tutorial - How To Program Collision Triggers For Pickups & Checkpoints

preview_player
Показать описание
Recommended Full Unreal Engine 4 C++ Courses:
Unreal Engine C++ Developer: Learn C++ and Make Video Games

Unreal Engine 4 Mastery: Create Multiplayer Games with C++

Learn how to program collision triggers in Unreal Engine 4 using C++. Collision triggers are useful components which can be used for many different areas, such as checkpoints, picking up weapons or health for your character.

Overlap functions used from UE4 C++ documentation:
OnOverlapBegin, OnOverlapEnd

Unreal Engine 4 C++ Tutorial - Set Up A Third Person Game
Рекомендации по теме
Комментарии
Автор

works in UE5.1.

heres the Copy paste line becuase the doc page was taken down

UPrimitiveComponent* OverlappedComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult

Smile-vugg
Автор

Thanks for this. Very easy to follow (no cutting out steps)

Dominate
Автор

this is a great tutorial, starting with a bare actor. not only that, I learned how to debug by printing on the screen! Waiting for more and subbed!

DanielOraraVA
Автор

Thanks so much for this, really easy to understand

SupernovaOneFourOne
Автор

Thank you so much, you rescured my Weekend :D

athan
Автор

Hello, that overlap events are not works in the new 4.25, Epics did some changes:
And i don't know how i can do overlap events, only override from Actor method mb.

dimaferox
Автор

can you create a composite actor that cointains : UStaticMeshComponent + Timeline Animation + BoxTrigger.. so you have all things in just one class ?

digimikeh
Автор

Wow thanks! i am beginner at c++. Should i first learn OOP before starting to code at ue 4? I understand most parts of your code but i connot write a single line of code in ue4 myself(i mean i am just copying yours)What do you recommend to do?

whatsup