Announcement

Collapse
No announcement yet.

Crunch Dash Problem

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

    Crunch Dash Problem

    Hi guys, sorry if this is not the right place to post, but I'm having problem making Crunch dash with character blueprint and animation montage. I'm new to ue4 and programming in general learning everything from youtube and epic tutorials. Here is a video I made with my problem: https://www.youtube.com/watch?v=_DyI...ature=youtu.be

    Thank you in advance
    Click image for larger version  Name:	DashMontage.jpg Views:	2 Size:	319.0 KB ID:	1464669Click image for larger version  Name:	DashCompleteMontage.jpg Views:	2 Size:	305.7 KB ID:	1464670
    Click image for larger version  Name:	CharacterBP.jpg Views:	2 Size:	479.0 KB ID:	1464667
    Last edited by lostburn; 04-21-2018, 03:40 PM.

    #2
    Launch is something that gives an instant velocity, at the end of the frame. You probably setting it to a very high value, to make the character move. When its moving on ground, after the initial velocity change, it stops, because characters have a very high friction value. So when not supplying velocity constantly, it stops fast.
    But when not colliding with ground, the velocity is maintained, thus you get launched very high away.

    Instead of giving a very high instant velocity, try setting it every frame, with a much lower value, until you want the dash to continue.
    For example, set a float value, called "DashTimer", set it to 2.0.
    In the tick, if DashTimer > 0.0f then DashTimer -= DeltaSec; Launch( ForwardVector * Force * DeltaSec )

    Or you could set GroundFriction value ( of character movement component ) to 0 while the dash is active. Dont know if it works but worth a try
    Last edited by honya15; 05-02-2018, 05:15 PM.

    Comment

    Working...
    X