-
-
Notifications
You must be signed in to change notification settings - Fork 328
feat: documentation improvements #884
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
Conversation
| } | ||
|
|
||
| /// Adds to this rigid-body a constant force at the given world-space point of this rigid-body. | ||
| /// Applies force at a specific point on the body (creates both force and torque). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest Applies force at a specific world-space point (creates both force and torque) as what we have right now may suggest that it takes object coordinates. It is mentioned later, but still.
| /// - Magnetic/gravity fields | ||
| /// - Continuous pushing/pulling | ||
| /// | ||
| /// Forces are automatically cleared after each physics step, so you typically call this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the forces being cleared each step though? I'm not seeing that on my side - they seem to be additive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, see #903
This generally improves the documentation and adds multiple doc-tests.
Most of these docs have been AI generated with manual intervention when needed. It turned out quite good compared to the previous state of the documentation. I still have to double-check some of the generated comments before merging but most of them look spot on.
This PR also adds a
Claude.mdfile for sourcing future usage of AI for docs and examples generation.