Can not trig and move

Hi everyone,

I am working with a CryptRaider game in unreal engine and visual studio code. I want to create a scene that allow player can grab a gargoyle and put a gate with a trigger then the gate would go down and allow player pass through.

I create 2 component file for the gate, Trigger and Mover, and one Grabber fot the gargoyle.

Here are my CPP file.



Mover.cpp file

Trigger.cpp file

The unreal engine could compile, but the gate can not move.
Please help me to figure it out!
Thanks

Best
Yizhuo

Have you tried adding logs in various places to see where it’s not working?

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

Privacy & Terms