官网案例运动起来也会抖动。
部分代码:
this.characterController = this._tempVirtualMoveGo.addComponent(Laya.CharacterController);
let sphereShape = new Laya.CapsuleColliderShape(0.5, 1);
sphereShape.localOffset = new Laya.Vector3(0, 0.3, 0);
this.characterController.colliderShape = sphereShape;
this.characterController.gravity = new Laya.Vector3(0, -1, 0);
this.characterController.restitution = 0; //弹力
在onUpdate 或者用timer驱动运动 或者只执行一次 .move() 都会出现 不规律抖动,
this.characterController.move(movePos);
有没有遇到的?