Announcement

Collapse
No announcement yet.

[Paper2D] Sprite gets stuck on the bottom of the screen

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

  • replied
    Originally posted by The Britain View Post
    Take a look at my previous post for the projectile.
    Your suggestion did not work. So I had to do something else.

    Leave a comment:


  • replied
    Originally posted by Vipar View Post
    Thank you. This is really mind-boggling. Almost makes me want to just look into Unity 2D framework. The time and effort it takes to make something simple in UE4 seems unreasonable at the moment :c
    Not that I like to admit it (you won't find a bigger Unreal fanboy) but it is mindbogglingly backwards and difficult to implement the simplest feature sometimes.

    Leave a comment:


  • replied
    Originally posted by Vipar View Post
    I guess I made a hack-fix for my projectiles dropping to -3500 Z for no reason whatsoever. But it's not pretty.

    [ATTACH=CONFIG]36832[/ATTACH]

    I call this on my Projectile Blueprint.

    As you can see, here is the issue and it makes no sense to me:

    Take a look at my previous post for the projectile.

    Leave a comment:


  • replied
    I guess I made a hack-fix for my projectiles dropping to -3500 Z for no reason whatsoever. But it's not pretty.

    Click image for larger version

Name:	681013b371.jpg
Views:	1
Size:	35.0 KB
ID:	1075239

    I call this on my Projectile Blueprint.

    As you can see, here is the issue and it makes no sense to me:

    Leave a comment:


  • replied
    Hah, I knew it. There is something with walking movement that causes you to stick to surfaces even with 0 friction. I made a video showing the issue

    https://www.youtube.com/watch?v=edB8BNFdyDs

    Leave a comment:


  • replied
    Okay I found a fix that doesn't need to use the Jump hack-fix

    I went into the Character Movement Component and found the two options:

    Click image for larger version

Name:	6d939d151d.png
Views:	1
Size:	2.6 KB
ID:	1075228

    Changing them to Flying fixed it. The movement can still be a little choppy at times but it's minimal.

    And now with these changes I can go back to this simple Bluescript (as I like to call it) instead of the unnecessary complex one:

    Click image for larger version

Name:	23f46a838e.jpg
Views:	1
Size:	48.7 KB
ID:	1075229

    I just have to do a few changes to the Movement Component:

    Click image for larger version

Name:	fa57b24303.png
Views:	1
Size:	3.4 KB
ID:	1075230
    Last edited by OmniOwl; 04-27-2015, 03:36 PM.

    Leave a comment:


  • replied
    What is your movement mode set to? If you guys are able to jump I'm assuming it is walking movement mode which also happens to include floor checks. What happens if you switch your default land movement to flying? This will disable gravity and floor checks.

    I am suffering from a similar issue where when flying against a walkable surface my character gets stuck to the terrain, the issue being when my capsule touches the terrain it switches me back to walking mode
    Last edited by DEDRICK; 04-27-2015, 12:39 PM.

    Leave a comment:


  • replied
    Originally posted by The Britain View Post
    I will continue to play to see how this can be removed, or at least re-orient the gravity in another direction.
    Thank you. This is really mind-boggling. Almost makes me want to just look into Unity 2D framework. The time and effort it takes to make something simple in UE4 seems unreasonable at the moment :c

    Leave a comment:


  • replied
    Originally posted by Vipar View Post
    It also makes ascending again slower until you stop or descend before ascending again.
    And not only that, if you ascend after the jump and you want to switch directions, the ship will stop until you release the directional key you were going in and press it again. Making it very clunky.
    I will continue to play to see how this can be removed, or at least re-orient the gravity in another direction.

    Leave a comment:


  • replied
    Originally posted by The Britain View Post
    I didn't notice any jumping, but it does get it away from, what basically, Unreal considers a floor. It's not an ideal solution.
    It also makes ascending again slower until you stop or descend before ascending again.
    And not only that, if you ascend after the jump and you want to switch directions, the ship will stop until you release the directional key you were going in and press it again. Making it very clunky.

    Leave a comment:


  • replied
    I didn't notice any jumping, but it does get it away from, what basically, Unreal considers a floor. It's not an ideal solution.

    Leave a comment:


  • replied
    Originally posted by The Britain View Post
    Oh wow. So I figured out what it was. When you come to the bottom of the Z axis, and you collide with something, it essentially is waiting for you to jump. By adding a jump node to the end of the "Up" function, I got it to work.

    UNREAL DEVS: Is there a way to disable jump completely so this doesn't happen with other projects?

    [ATTACH=CONFIG]36650[/ATTACH]
    That is..very odd.. ._.
    Do I actually have to jump at the end then? Or does it just fire the jump and you won't notice it?

    Originally posted by The Britain View Post
    For your projectile, you need to set the velocity and speed, and tell the rotation to follow velocity.
    Also, make sure to turn your sprite over if that's what you want.

    [ATTACH=CONFIG]36651[/ATTACH]
    But I apply these things in the blueprint which worked just fine before. So doing that should not be necessary:

    Leave a comment:


  • replied
    For your projectile, you need to set the velocity and speed, and tell the rotation to follow velocity.
    Also, make sure to turn your sprite over if that's what you want.

    Click image for larger version

Name:	Projectile.png
Views:	1
Size:	212.7 KB
ID:	1075203

    Leave a comment:


  • replied
    Oh wow. So I figured out what it was. When you come to the bottom of the Z axis, and you collide with something, it essentially is waiting for you to jump. By adding a jump node to the end of the "Up" function, I got it to work.

    UNREAL DEVS: Is there a way to disable jump completely so this doesn't happen with other projects?

    Click image for larger version

Name:	wow.png
Views:	1
Size:	122.8 KB
ID:	1075202

    Leave a comment:


  • replied
    Originally posted by The Britain View Post
    If you zipped up your project, how big is it? If it is not to large, I wouldn't mind giving it a quick look over. We did a similar style game for the Game Jam, and it sounds like you hit a similar snag.
    I sent you a PM

    Leave a comment:

Working...
X