Skip to content

Add OccluderShapeCube to geometry occluders #5648

Open
@elvisish

Description

Describe the project you are working on

Gridmap based First-person game.

Describe the problem or limitation you are having in your project

Using planes are too thin to provide side coverage and spheres are weirdly shaped for 90-degree angle games made out of mostly cubic shapes.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Allowing the use of a OccluderShapeCube would have all of the depth benefits of OccluderShapeSphere compared to the 2D OccluderShapePolygon but would fit the geometry of gridmap-based games using cube-shaped meshes primarily for design.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

It would be added to the occluder node as a shape option.

If this enhancement will not be used often, can it be worked around with a few lines of script?

No because it needs to be part of the occluder node.

Is there a reason why this should be core and not an add-on in the asset library?

It needs to be part of the occluder node.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions