Is that becouse of tween?
How i animate character on fall
var targetPos = this.entity.getLocalPosition().clone();
targetPos.add(new pc.Vec3(0, -10, 0));
this.entity.tween(this.entity.getLocalPosition()).to(targetPos, 2, pc.Linear).start();
How i move camera
var CameraMover = pc.createScript('cameraMover');
CameraMover.attributes.add('speed', {type: 'number', default: 1});
CameraMover.attributes.add('target', {type: 'entity'});
CameraMover.prototype.postInitialize = function() {
this.startOffset = this.entity.getPosition().clone().sub(this.target.getPosition());
};
CameraMover.prototype.postUpdate = function(dt){
this.entity.setPosition(this.target.getPosition().clone().add(this.startOffset));
};
The same with just .update
Game - Test Project - PLAYCANVAS
Video example