GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

[Raycaster3D] Issue short description

Open TheAudioverse opened this issue 7 months ago • 7 comments

Is there an existing issue for this?

Enter the name of the extension

Raycaster 3D / 3D raycast

Describe the bug of the extension

This extension should allow me to test if [object] is colliding with my ray.

Steps to reproduce

  1. Go to the condition selector.
  2. I don't see a condition to test if ray is colliding with [object].

GDevelop platform

Desktop

GDevelop version

5.5.228

Platform info

OS (e.g. Windows, Linux, macOS, Android, iOS)

OS Version (e.g. Windows 10, macOS 10.15)

Browser(For Web) (e.g. Chrome, Firefox, Safari)

Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)

Additional context

I wanna test is [object] is colliding with the ray I just sent out, and for clarity and ease, every raycast that is sent out should have it's own unigue numerical ID. (Ray X = [Ray 1, Ray 2, Ray 3, etc])

TheAudioverse avatar May 04 '25 22:05 TheAudioverse

It doesn’t sound like a bug. Please, ask for help on the forum: https://forum.gdevelop.io/c/help-for-games-creation/34

D8H avatar May 05 '25 22:05 D8H

It was supposed to be a suggestion but idunno where to put those. ¯_(ツ)_/¯

On Mon, May 5, 2025 at 6:21 PM D8H @.***> wrote:

D8H left a comment (GDevelopApp/GDevelop-extensions#1669) https://github.com/GDevelopApp/GDevelop-extensions/issues/1669#issuecomment-2852478149

It doesn’t sound like a bug. Please, ask for help on the forum: https://forum.gdevelop.io/c/help-for-games-creation/34

— Reply to this email directly, view it on GitHub https://github.com/GDevelopApp/GDevelop-extensions/issues/1669#issuecomment-2852478149, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLYPIZFBOTMXFJN7GQJ7QZD247P6JAVCNFSM6AAAAAB4NL7LOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNJSGQ3TQMJUHE . You are receiving this because you authored the thread.Message ID: @.***>

TheAudioverse avatar May 05 '25 22:05 TheAudioverse

This extension should allow me to test if [object] is colliding with my ray.

This is already what the extension is about and this example shows how to use it: https://gdevelop.io/game-example/free/3d-first-person

If it's unclear, please ask for help on the forum.

D8H avatar May 06 '25 08:05 D8H

I guess I'm being unclear. Yes the extension does test if [object] is colliding with my ray, but it only picks it. And all conditions only allow me to send out a ray. And all actions (1) only allow me to compare the intersection distance. If there is something about this extension I failed to mention (other than expressions) please reply stating everything I missed. I wish for a condition that returns true or false that tests if [object] is colliding with a specific ray that I sent out. This would allow other features that I'm trying to make for my game *possible *to make.

On Tue, May 6, 2025 at 4:04 AM D8H @.***> wrote:

D8H left a comment (GDevelopApp/GDevelop-extensions#1669) https://github.com/GDevelopApp/GDevelop-extensions/issues/1669#issuecomment-2853634859

This extension should allow me to test if [object] is colliding with my ray.

This is already what the extension is about and this example shows how to use it: https://gdevelop.io/game-example/free/3d-first-person

If it's unclear, please ask for help on the forum.

— Reply to this email directly, view it on GitHub https://github.com/GDevelopApp/GDevelop-extensions/issues/1669#issuecomment-2853634859, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLYPIZAT6ZXGBUJ5KHQCUHT25BUKJAVCNFSM6AAAAAB4NL7LOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNJTGYZTIOBVHE . You are receiving this because you authored the thread.Message ID: @.***>

TheAudioverse avatar May 07 '25 02:05 TheAudioverse

Yes the extension does test if [object] is colliding with my ray, but it only picks it.

I wish for a condition that returns true or false that tests if [object] is colliding with a specific ray that I sent out.

What is the difference between these 2 sentences?

D8H avatar May 07 '25 08:05 D8H

I don't just want to pick the object, I want to get a value from a condition that I can use. And no, those sentences are not the same.

Message ID: @.*** .com>

TheAudioverse avatar May 08 '25 00:05 TheAudioverse

Please, explain your issue on the forum. People will explain how the event system works and give you ideas to do what you want. https://forum.gdevelop.io/c/help-for-games-creation/34 GitHub is not ideal for asking questions because there is not many people reading it and the answer would not be useful to other people who have the same question (as they don't search on GitHub). You can link your post here, I'll try to answer there.

D8H avatar May 08 '25 10:05 D8H