Announcement

Collapse
No announcement yet.

Check if pawn is "Active" -- i.e. moving or looking...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Check if pawn is "Active" -- i.e. moving or looking...

    I'm trying to write a certain action to take place when a pawn is active.

    The problem is: what's a good measure of whether or not the player is simply looking around? RotationRate only seems to change when both moving AND looking, so it's not very helpful. Am I gonna have to do something cheesy like compare the Rotation for one tick against another to check for a difference?

    Thanks for any advice!

    #2
    You could always do a "VSize" on it's velocity

    Comment


      #3
      yeah, the velocity is fine -- it's the rotation that's the problem. i want to be able to measure when the pawn is turning, but not necessarily walking...

      Comment

      Working...
      X