Cast to any Actor?
Hay everyone c(-__- _ )
So here's my problem, I want to attach a physics actor to my player so it seems like he is carrying it but therefor I have to Cast to the actor class to disable physics simulation. Simply the problem is that I don't want to cast to every single possible actor class that my character could possibly carry. So is there a way to do this without casting to every possible class?
asked Jul 15 '15 at 08:52 AM in Blueprint Scripting
Cast it to the AActor ? It is the "mother" of all actors. https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/GameFramework/AActor/index.html
Remember that every custom class you create in UE4 extend another class.
Is that what you are looking for ?
answered Jul 15 '15 at 12:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here