Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Character physics stuck in box #21

Closed
raoneel opened this issue Apr 24, 2020 · 2 comments
Closed

Character physics stuck in box #21

raoneel opened this issue Apr 24, 2020 · 2 comments

Comments

@raoneel
Copy link

raoneel commented Apr 24, 2020

I've noticed that the character can get stuck if it jumps directly into a box physics collider. It basically sticks to the box and stays in the falling animation. You can leave by turning around however. Is there any way to make it so that it bounces off instead?

Screen Shot 2020-04-24 at 12 35 31 PM

@swift502
Copy link
Owner

swift502 commented Apr 24, 2020

That didn't happen in my demos.

What are your friction values? I think it should be 0.3 on the environment

and 0.1 or even 0 on the player capsule

Try setting the second one to 0 and it should definitely work. If not then I'm not sure why it happens to you.

@raoneel
Copy link
Author

raoneel commented Apr 24, 2020

Setting the character friction to 0 seems to work well, thanks!

@raoneel raoneel closed this as completed Apr 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants