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

Add solutions to problems that may occur in different cases in readme #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,32 @@ If you would like to quickly set up a first-person mode, you can modify these pr
>
```

### Popular problems and their solutions

#### 1. Scene doesn't load and I get EcctrlAnimation component error

Check if you filled essential animations, which are:

```js
const animationSet = {
idle: "yourAnimationName",
walk: "yourAnimationName",
run: "yourAnimationName",
jump: "yourAnimationName",
jumpIdle: "yourAnimationName",
jumpLand: "yourAnimationName",
fall: "yourAnimationName",
}
```

#### 2. Animations play only once

If you fill different properties of animationSet with the same name of animations, those will play only once. Try using different animations.

#### 3. Character falls through the terrain

Try to use different collider for the terrain mesh.

## Contributions

I appreciate your interest in this project! If you have any feedback, suggestions, or resources related to the controller, please feel free to share.
Expand Down