Home Unreal Engine

How can I control the speed of a pawn that inherits from defaultPawn?

poopipe
grand marshal polycounter
Offline / Send Message
poopipe grand marshal polycounter
As per title really - 

How do I get at the movement speed so I can change (via blueprint)?  it doesn't seem to be exposed directly but I'm not that familiar with the structure so probably missing something

TIA

Replies

  • poopipe
    Options
    Offline / Send Message
    poopipe grand marshal polycounter
    As is conventional, posting this question provoked a flash of inspiration. 


    The answer is ... 
    You don't


    Instead, you create a new class derived from Pawn and add a movement controller to that - you can then muck around with it as much as you like
  • Obscura
    Options
    Offline / Send Message
    Obscura grand marshal polycounter
    Should be in the class defaults. Inherited variables goes there. You can also simply try getting the variable and setting it.
  • poopipe
    Options
    Offline / Send Message
    poopipe grand marshal polycounter
    yeah, that's what I thought but couldn't find anything,  I might have missed it though - I don't really know my way round unreal very well.

    still - got it working anyway so I'm not looking back :D
Sign In or Register to comment.