Skip to content

Coyote friction prototype#2978

Draft
IntegratedQuantum wants to merge 1 commit intoPixelGuys:masterfrom
IntegratedQuantum:friction_coyote
Draft

Coyote friction prototype#2978
IntegratedQuantum wants to merge 1 commit intoPixelGuys:masterfrom
IntegratedQuantum:friction_coyote

Conversation

@IntegratedQuantum
Copy link
Copy Markdown
Member

This is a possible solution for #1969 by giving you a short time window where you have more control after walking off a ledge.
In the situation mentioned in #1969 this gives you enough control to safely reach the ledge.

Currently this does not work properly due to having no distinction between ground friction and volume friction at the point the coyote friction is applied, this make the fall appear somewhat unnatural. This should be easier to fix after #1728. This is a blocker.

@ikabod-kee
Copy link
Copy Markdown
Collaborator

It's neat, but it feels weird that there's no air control after jumping. Also the eye-velocity makes it seem floatier than it should be.

@ikabod-kee
Copy link
Copy Markdown
Collaborator

Why not apply coyote friction to jumping? That actually might be enough.

@IntegratedQuantum
Copy link
Copy Markdown
Member Author

Also the eye-velocity makes it seem floatier than it should be.

As explained in the post, that's because we don't have directional friction yet, so it also applies friction downwards, making it floaty when the fall starts. This has nothing to do with the eye velocity.

Why not apply coyote friction to jumping? That actually might be enough.

I don't think we need this, unlike dropping off a ledge where you have less control when the drop happens, on jumping you do control when you hit the button, so you can already control the direction and speed before the jump happens.

@ikabod-kee
Copy link
Copy Markdown
Collaborator

I don't think we need this, unlike dropping off a ledge where you have less control when the drop happens, on jumping you do control when you hit the button, so you can already control the direction and speed before the jump happens.

Don't knock it till you try it :P

@IntegratedQuantum
Copy link
Copy Markdown
Member Author

What I'm saying is you already have the same amount of control, you just have to press the movement keys before you jump, not after.

@ikabod-kee
Copy link
Copy Markdown
Collaborator

Would you be able to double the friction coyote time, but half the friction? I feel like that'd be a little more gooder.

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

Successfully merging this pull request may close these issues.

2 participants