Merge pull request #548 from kevinresol/patch-2
FollowCamera: use LateUpdate to avoid sync issues
This commit is contained in:
commit
6fe2caad74
|
@ -40,7 +40,7 @@ class FollowCamera extends iron.Trait {
|
|||
}
|
||||
});
|
||||
|
||||
notifyOnUpdate(function() {
|
||||
notifyOnLateUpdate(function() {
|
||||
if(!disabled){
|
||||
if(targetObj != null) {
|
||||
if(lerp){
|
||||
|
|
Loading…
Reference in a new issue