Announcement

Collapse
No announcement yet.

Vertical Velocity Reset

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

    Vertical Velocity Reset

    I have a simple movement animation state machine set up, yet when incorporating it with my movement system, it resets the player's vertical velocity. Basically, when I jump, if I press another key, I slow my fall.
    The following are the scripts that manage it. Where is the error?
    Click image for larger version

Name:	Physics Shenangans 2.png
Views:	1
Size:	88.3 KB
ID:	1217082
    Click image for larger version

Name:	Physics Shenangans 1.png
Views:	1
Size:	112.2 KB
ID:	1217081

    I have narrowed it to the 'set flipbook' method call specifically, yet that doesn't explain why...

    #2
    I have been working on it... no solution has arisen.

    Comment


      #3
      Originally posted by wabuilderman View Post
      I have been working on it... no solution has arisen.
      I havent worked with Flipbooks at all, but looking at your code the only thing that I can think of is ticking "Add to Current" on the Linear Velocity to make sure there isnt a sudden change in force. I would recommend the Answer Hub if you dont get help here, as many UE4 devs frequent those regularly.
      [WIP] Procedural City Generator | RPG AI
      [MARKETPLACE] Animal Behavior Kit | Space Shooter Template | Procedural Foliage Tool | Procedural Park
      [FREE] Modular Road Tool | Action Platformer Template | Radar BP | Free Birds | Procedural Buildings
      Join our Discord

      Comment

      Working...
      X