Page MenuHomeFeedback Tracker

Slots in SlotManagerComponent do not follow parent if the parent has been made a child, and then removed as a child, from another entity.
Assigned, NormalPublic

Description

If you attach the M151A2 to another entity with IEntity::AddChild, and then later remove it with IEntity::RemoveChild, the wheels and window no longer follow the M151A2 base.

https://www.youtube.com/watch?v=htlR29JbY7w

Details

Severity
Minor
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

Plato created this task.Sep 5 2023, 5:20 AM
Plato updated the task description. (Show Details)Sep 5 2023, 5:31 AM
Geez changed the task status from New to Assigned.Sep 5 2023, 11:27 AM
Plato added a comment.Sep 8 2023, 5:17 AM

Further information: I found out this is because I am setting the parent of the slot entities themselves. I've fixed it by not doing this anymore and only doing the parent. Perhaps a way to tell a slot manager component to re-parent its spawned children would be useful?