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.
534 B
534 B
code, severity, title, example
| code | severity | title | example |
|---|---|---|---|
| PHY007 | warning | A moving body teleported from Update | PHY007.aescene |
A script changed the position of a dynamic or kinematic body in Update, outside the fixed step.
Fix. Move bodies in FixedUpdate, with forces, impulses or a velocity, or with MoveTo on a kinematic body; set the position directly only to teleport on purpose.
Details
The change is applied at the next physics step as a teleport: no velocity, no collisions on the way. The example script does this every frame.