You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Demo vid below — to repro, open Content/character_controller/assets/level.wiscene and find and select the Cube_Cube.001 with scale 1.46 (or any other, really).
Set the Y position to 0, add a RigidBodyPhysics component. The cube jumps up to Y=1.42542.
Remove it, reset Y position, then carefully move the cube minimally downwards, just until its debug-AABB's bottom coords are just below the ground. Now add a RigidBodyPhysics and the cube falls to bottom infinity.
The issue: since a new RigidBodyPhysics defaults to "Start deactivated", this sudden movement autonomous activity of currently-being-authored in-world objects is at a minimum in contradiction to that default setting. Furthermore, it is questionable whether this simulation should be played out at edit time (not run time) automatically at all. Maybe only on a button click might be less surprising, because it is a handy capability to have on demand — just not automatically & instantly, IMHO =)
rec-2025-01-18_19.58.53.mp4
The text was updated successfully, but these errors were encountered:
This is not an error, but because the cube is centered at the bottom, and the rigidbody gets created as a cube by default at the bottom, it will offset the graphics mesh. You can apply local offset to solve this, in the rigidbody settings. You should turn on physics visualizer in the general options to see why this happens. You can also disable physics simulation in the editor with the little physics button under the big + button. You can also offset the cube mesh itself to be in its center instead inside the MeshComponent settings -> Recenter button.
Demo vid below — to repro, open
Content/character_controller/assets/level.wiscene
and find and select theCube_Cube.001
with scale 1.46 (or any other, really).The issue: since a new RigidBodyPhysics defaults to "Start deactivated", this sudden movement autonomous activity of currently-being-authored in-world objects is at a minimum in contradiction to that default setting. Furthermore, it is questionable whether this simulation should be played out at edit time (not run time) automatically at all. Maybe only on a button click might be less surprising, because it is a handy capability to have on demand — just not automatically & instantly, IMHO =)
rec-2025-01-18_19.58.53.mp4
The text was updated successfully, but these errors were encountered: