Need Help, Player Not Following Gravity

Yes I think I understand it now
I’m still getting the same error on cast

I think you misunderstood the intention of my previous post.

Even if corrected for syntax:

Was me saying that still won’t work.

As a reminder, you want to test if the current actor is an Escape Character (which is done through this cast).

This was me giving you a hint as to how to correct it.

Oh Ok I thought you had corrected it for syntax and now it would work.
I’m sorry but I don’t really understand what I would need to do in order to make it work.
I think I need to declare EscapeChar but I don’t know what to declare it to.

OverlappingActors is the array. Actor is the current iterated actor within that array.

if (AMyEscapeCharacter* EscapeChar = Cast<AMyEscapeCharacter>(Actor))

I definitely understood it now, Thank you so much Dan for being so patient and for explaining it to me.
It works now, I look forward to sharing my Mega Challenge very soon

2 Likes

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

Privacy & Terms