stride3d / stride3d/stride

[DOC] Clarify that setting entity parent to null removes it from the scene

Open
#1,095 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Doc enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: Official Release/GitHub

Describe the bug
If you set an entity's parent to null (Entity.Transform.Parent = null) the entity gets removed from the scene.

Expected behavior
I expected the entity to become a root entity in the scene.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the documentation for Entity.Transform.Parent and the scene/entity parenting behavior. Confirm the documented result of assigning null, then update the relevant explanation so it matches the observed behavior and distinguishes it from making the entity a root entity.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation, game-dev
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.