Skip to content

dropped item 3d improvement: define node for removal from scene tree #192

@FlauschBert

Description

@FlauschBert

Version 2.1.8

If you import assets from FBX files you often do not have that much freedom to define where your RigidBody3D node is in the scene tree. So, you can not ensure that the RigidBody3D node is the top node for picking (and removal). For this case I added a variable to define these comfortably in inventory-system-demos/character/dropped_item_3d.gd:
Image
Set the "Remove Node" property to the top node and you are done.
We also have to adapt the inventory-system-demos/character/character_inventory_system.gd to handle this correctly:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions