How to cast in cpp

anonymous_user_7e1085d1
Mon, 28 Jan 2019 19:27:54 +0000
Blueprint

Ok so i want to create a moving platform that when the player gets on top of it it starts moving up and when the player leaves the platform is stops moving!
!

This is the blueprint that i made and i want to make the same thing in cpp

Here is the cpp code. When the player overlaps the trigger it starts moving up but when the player jump off the platform the platform doesn’t stop

6 posts - 1 participant