@Alien_r92_1 (Mattia Glorio) posted a new topic, subject "Why cast fails every time when i try to cast my Actor to Character Movement Component?". It read:

   

@Alien_r92_1 (Mattia Glorio) replied

    i need the rotation rate, how can i get it?

After which, @RedRudeRebel (RedRudeRebel) added

    Hello Alien_r92,
    
    Cast fails cuz “yourActor” != ChareacterMovementComponent;
    
    But you may cast it to “yourActor” and get from him all data that you need (as ChildComponents or Variables)
    
    Best wishes,
    
    MefazM

To which @RedRudeRebel (RedRudeRebel) replied

    > i need the rotation rate, how can i get it?
    
    24079-set_get_rotrate.png1158×379 59.5 KB
    
    Instead of character on example, you sould use “yourActor” from you want get(or set) RotRate.
    
    Best wishes,
    
    MefazM


{'source': 'discourse', 'url': 'https://forums.unrealengine.com/t/why-cast-fails-every-time-when-i-try-to-cast-my-actor-to-character-movement-component/301651', 'title': 'Why cast fails every time when i try to cast my Actor to Character Movement Component?', 'views': 2229, 'has_accepted_answer': True, 'word_count': 95, 'like_count': 0, 'reply_count': 2, 'participant_count': 2, 'posts': 4, 'tags': 'question Blueprint UE4 Character-Movement cast-failed', 'author': '@Alien_r92_1 (Mattia Glorio)', 'participants': '@Alien_r92_1 (Mattia Glorio), @RedRudeRebel (RedRudeRebel)', 'image_url': ['https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/2/db2e5ebbd89ca6e6371e66d8d50c36f5fd172ddb.png'], 'created_at': '2014-12-15T11:30:00.000Z', 'last_posted_at': '2014-12-15T12:36:58.000Z'}