Hi there, I have a little problem and I was wondering is there any better way of doing this instead of timeout
this.tween.stop();
this.tweenCam.stop();
this.tweenRay.stop();
camera.camera.fov = 45;
this.cameraScript.eulers.y = 0;
this.entity.activeCam = "Third";
this.player.children[0].model.enabled = true;
this.rayEnd.setLocalPosition(this.tPos);
For some reason even when tween is stopped, this line this.rayEnd.setLocalPosition(this.tPos);
has no effect if executed immediately, it does work however once I add timeout, I’m sure that the tween is stopped, thanks for any ideas