在 Babylonjs中 网格被应用 物理引擎 PhysicsAggregate 通过修改网格的位置坐标无法移动网格,可以修改 disablePreStep 为 false
let groundAggregate = new PhysicsAggregate(player, PhysicsShapeType.BOX, { mass: 0, friction: 0 }, scene);
groundAggregate.body.setMotionType(PhysicsMotionType.ANIMATED);
groundAggregate.body.disablePreStep = false;