-
Notifications
You must be signed in to change notification settings - Fork 164
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
No slip on sloped surfaces #79
Comments
It's been away but should be related to the drag or the time before stop.
Try reducing that number and see if it resolves the issue.
…On Mon, Mar 2, 2020 at 10:50 AM treborjones81 ***@***.***> wrote:
Hi, really enjoying playing around with this, but alas my c-sharp skills
are limited.
I was wondering if there's anyway to stop the player character sliding
slowly when moving/landing on sloped surfaces. Or if there's a simple
enough modification I could make to achieve such a result.
Currently if the character lands on a slope surface it slips down (and
sometimes up!) - it looks like the change speed on slope settings are only
influencing movement speeds when theres a player input.
Cheers for any help and thanks again for a great bit of kit! :-)
Bob.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#79?email_source=notifications&email_token=AAW4A3ZT3ILUVWOVAMRONPTRFP5WLA5CNFSM4K72KM7KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IRZGLAA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAW4A3ZXRB3PMCBKXM67MC3RFP5WLANCNFSM4K72KM7A>
.
|
Thanks for getting back to me. I've played with it a bit and it seems to be related to having the Moving Platforms Layer set or not. If it's set the character slips down a slope, if its not ,it sticks as expected. Any ideas as to why this might be ? I've tried this in the example you supply, without any of my changes, and the issue is still present. Appreciate you may have forgotten and moved on from this, so no worries if you're not sure. |
Think I got it figured out now. It was linked to the Ground Check Distance under the slopes settings. |
Hi, really enjoying playing around with this, but alas my c-sharp skills are limited.
I was wondering if there's anyway to stop the player character sliding on sloped surfaces when there's no input. Or if there's a simple enough modification I could make to achieve such a result.
Currently if the character lands on a sloped surface it slips down (and sometimes up!) - it looks like the 'change speed on slope' settings are only influencing movement speeds when theres a player input.
Cheers for any help and thanks again for a great bit of kit! :-)
Bob.
The text was updated successfully, but these errors were encountered: