Skip to content

Nodes inheriting from abstract classes do not show up in the "Create New Node" menu #873

Closed as not planned
@aaronfranke

Description

@aaronfranke

When I have a node type that extends CanvasItem, CollisionObject(2D/3D), Joint(2D/3D), or Light(2D/3D), and register it with ClassDB::register_class, the node does not show up in the "Create New Node" menu. However, the same node works if I change it to inheriting Node, Node2D, etc. This is a necessary feature if we want GDExtension to have the same feature set as the engine, so that people can make their own custom classes inheriting these abstract types (as I wish to).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions