Scirra / Construct-feature-requests

A place to submit feature requests and suggestions for Construct.
https://www.construct.net
8 stars 1 forks source link

3d ray casting object #148

Open mOOnpunk opened 4 months ago

mOOnpunk commented 4 months ago

Reviewed guidelines

Checked for duplicate suggestions

Summary

3D raycasting object. To help pick objects in 3d space, since 3d in construct is just 2d.

Possible workarounds or alternatives

not sure there are any easy solutions?

Proposed solution

works like the 2d one, but in 3d space.

Why is this idea important?

an big improvement to the 3d aspect of the engine.

Additional remarks

No response

ChromeWisp commented 4 months ago

This is something I'd desperately like to see! I've been holding off using Construct to make an arcade lightgun-style game like the Light Gun demo from the example browser because, like in that demo, there's no great way of checking if the player hits a 3D shape and where, even though the 3D shapes have collision polygons for every side of the object which would be excellent for this purpose! I know Scirra wants to keep their engine 2D-focused, but this seems like just a continuation of their existing 2D raycasting/collision capabilities, and users could do a lot more just the ability to detect 3D objects like this.

AshleyScirra commented 2 months ago

This would probably amount to upgrading Construct's existing 2D collision engine to a full 3D collision engine - a significant part of a full 3D engine implementation, which is not something we're really aiming to do with Construct at the moment.

MikalDev commented 2 months ago

A possible workaround for now:

I am working on a paid 3D physics addon which has 3d raycast and works with 3D Shape.

https://kindeyegames.itch.io/construct-3-cannon