[blueprint] Cast functions won't show up

I am stuck trying to create a vehicle. I have not been able to create WheeledVehicleMovmentComponent same way it is mentioned here:
https://rocket.unrealengine.com/questions/11845/vehicle-template-problem.html
solution is to get it yourself by casting, however I cannot find a single cast function apart from Cast to Player Controller, similar to problem described here:
https://rocket.unrealengine.com/questions/4246/vim-blueprint-accesed-none-warning-with-character.html
However unlike solution in that question states, I cannot even use cast functions, they won’t even show up when dragging a pin:

What do I have to do? I use version 1904627

greetings

Dear Airborn,

you’re missing a step I believe

you need to get movement component first

THEN you can drag off pin and right menu will appear


If this solves your issue please mark check next to my answer so others know it is resolved

:slight_smile:

Thank you very much, it works,

but I feel very confused now. I started editor up, dragged out pin and casting functions showed up. However previously no casting would show up anywhere. I can even cast return value from Get Owning Actor now, it was impossible before (as you can see from my screenshot).

Maybe there is a bug that prevents it sometimes. I will keep an eye on it.

Hi there,

I am also following vehicle tutorial found here:

https://rocket.unrealengine.com/docs/ue4/INT/Gameplay/Framework/Vehicle/Buggy_Tutorial/index.html

and I am also having same problem as described above - when I drag off Get Movement Component, Cast to WheeledVehicleMovementComponent does not show up.

not sure where I am going wrong, any tips would be appreciated, cheers!

Hi again,

I have managed to get Cast to WheeledVehicleMovementComponent node to display in menu. As you can see from my screenshot above, Context Sensitive is unticked.

However, when I tick Context Sensitive, all casting options show up:

I need to toggle this every time I want CastTo options to show in menu.

As I have followed along to vehicle tutorial I have often needed to untick Context Sensitive, in order for necessary options / nodes that I need for tutorial to show up in right-click menu. I assumed all options are made available to me when Context Sensitive is unticked, but I don’t think this is currently case with Cast to WheeledVehicleMovementComponent.

Airborn, I think this is why you were confused as to why it seemed to not work, and then all of a sudden work.

Cheers

Thanks for clarifying this Ineni!

:slight_smile:

I’m just wondering why clicking Context Sensitive allows “cast to” to show? I’d have thought unchecking context sensitive would show ALL options?

Hey wired00,

This is an old Archive post from our beta users, and information may have changed since then. I would recommend opening a new post with your question so it can be answered with more recent info. Thanks!