Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jumping under a slope while moving #46

Open
1544C opened this issue Dec 23, 2015 · 3 comments
Open

Jumping under a slope while moving #46

1544C opened this issue Dec 23, 2015 · 3 comments

Comments

@1544C
Copy link

1544C commented Dec 23, 2015

I was moving to the left, hit the slope from the bottom and got stuck inside.
I tried to get out, but I couldn't do it.

YouTube Video
YouTube Video (I uploaded another where you can see the movement I did)
GIF

Here's the project if you need it
https://mega.nz/#F!H5ZnkIbS!4h971dTQ9yDoXRCTVCcxpg

Also, how can I make the player "fall smoothly under a slope" like in Super Mario World...
YouTube Video

...so it doesn't stop for a second like this?
YouTube Video
GIF

I'm using Unity 5.1.1f1 32-bit.

@cjddmut
Copy link
Owner

cjddmut commented Dec 23, 2015

I can't see any of the youtube videos except for the one for Mario.

I'll see if I can come up with a simple enough solution. Though I think slopes in general need to be rethought out and that's one of my plans for the next major version (they are far too buggy for my liking right now).

@llafuente
Copy link
Contributor

You should play with: minDistanceFromEnv and numOfIterations

I have the impression your "box" move a bit fast

@1544C
Copy link
Author

1544C commented Dec 24, 2015

It moves fast indeed because that's gonna be the max speed(maybe faster than this).
I'll play around with those values too and see what happens, @llafuente.

Usually people can see unlisted videos from youtube if I give the link, but I'll make them public.
I also uploaded gifs in the first post if somebody can't see the videos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants