docs/style.md, docs/glossary.md, style checks DOC010–DOC023 and docs report; the site in a light theme; the Editor, Aego Script, Gameplay, Physics, Scenes, Rendering, Tools and Reference sections rewritten.
574 B
574 B
code, severity, title, scope
| code | severity | title | scope |
|---|---|---|---|
| PHY006 | warning | A body reparented during Play | play |
Moving a node with a Rigid Body 2D under another parent while the game runs recreates the body at the same world position and velocity.
Fix. Reparent before Play, or move the body with a joint or a script instead of changing its parent.
Details
Contacts start over, and joints on the body are rebuilt. This is a warning: the game keeps running.
It appears when the scene is edited during Play, for example by dragging the node in the Hierarchy, so no scene file shows it.