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

Documentation: Ray-casting doc mentions shape casting but not explained #10507

Open
alex0091845 opened this issue Jan 14, 2025 · 0 comments
Open
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation enhancement topic:physics

Comments

@alex0091845
Copy link

Your Godot version: 4.3.stable

Issue description: As titled, the ray-casting manual mentions:

One of the most common tasks in game development is casting a ray (or custom shaped object) and checking what it hits. This enables complex behaviors, AI, etc. to take place. This tutorial will explain how to do this in 2D and 3D.

Currently, it does not explain how to cast a custom shaped object. This was an issue before per #2331 (archived) but apparently not fixed.

The manual should either

  • Clarify wording

or

  • Include references to the ShapeCast class documentation, examples on how to use them, and the cost/tradeoffs between ray-casting and shape casting and how to approximate per the ray-cast class documentation: https://docs.godotengine.org/en/stable/classes/class_raycast3d.html (unless there is a way to cast a shape with ray-cast that I am not aware of)

I think the latter would greatly benefit beginners, though!

URL to the documentation page (if already existing): https://docs.godotengine.org/en/stable/tutorials/physics/ray-casting.html

@tetrapod00 tetrapod00 added enhancement topic:physics area:manual Issues and PRs related to the Manual/Tutorials section of the documentation labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation enhancement topic:physics
Projects
None yet
Development

No branches or pull requests

2 participants