|
Recast Navigation
Navigation-mesh Toolset for Games
|
We'd love for you to contribute to our source code and to make Recast and Detour even better than they are today! Here are the guidelines we'd like you to follow:
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to honor this code.
If you have questions about how to use Recast or Detour, please direct these to the Google Group discussion list. We are also available on Gitter.
Questions about how to best use Recast, what it's capable of, and other inqueries should be directed to the Q&A section of Github Discussions. Questions submitted as Github issues will be converted to discussions.
If you find a bug in the source code or a mistake in the documentation, you can help us by submitting an issue to our GitHub Repository. Even better you can submit a Pull Request with a fix.
Please see the Submission Guidelines below.
You can request a new feature by submitting an issue to our GitHub Repository. If you would like to implement a new feature then consider what kind of change it is:
Before you submit your issue search the GitHub Issues and Github Discussions archives, maybe your question was already answered.
If your issue appears to be a bug, and hasn't been reported, open a new issue. Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues. Providing the following information will increase the chances of your issue being dealt with quickly:
duDebugDraw and call some methods from DetourDebugDraw.h. Seriously, just do it, we'll definitely ask you to if you haven't!rcContext.Here is a great example of a well defined issue: https://github.com/recastnavigation/recastnavigation/issues/12
If you get help, help others. Good karma rulez!
Before you submit your pull request consider the following guidelines:
Make your changes in a new git branch:
```shell git checkout -b my-fix-branch master ```
Commit your changes using a descriptive commit message that follows our commit message conventions (see below).
```shell git commit -a `` Note: the optional commit-a` command line option will automatically "add" and "rm" edited files.
Squash any work-in-progress commits (by rebasing) to form a series of commits that make sense individually. Ideally the pull request will be small and focused enough that it fits sensibly in one commit.
```shell git rebase -i origin/master ```
Push your branch to GitHub:
```shell git push origin my-fix-branch ```
recastnavigation:master.my-fix-branch).If you have rebased to squash commits together, you will need to force push to update the PR:
That's it! Thank you for your contribution!
After your pull request is merged, you can safely delete your branch and pull the changes from the main (upstream) repository:
Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:
```shell git push origin –delete my-fix-branch ```
Check out the master branch:
```shell git checkout master -f ```
Delete the local branch:
```shell git branch -D my-fix-branch ```
Update your master with the latest upstream version:
```shell git pull –ff upstream master ```
Do your best to factor commits appropriately, i.e not too large with unrelated things in the same commit, and not too small with the same small change applied N times in N different commits. If there was some accidental reformatting or whitespace changes during the course of your commits, please rebase them away before submitting the PR.
Please format commit messages as follows (based on this excellent post):
Important things you should try to include in commit messages include: