1
This commit is contained in:
@ -31,7 +31,7 @@ export class AppCamera extends Monobehiver {
|
||||
// 限制垂直角范围,实现上帝视角
|
||||
this.object.upperBetaLimit = Tools.ToRadians(90); // 最大垂直角(接近90度,避免万向锁)
|
||||
|
||||
this.object.position = new Vector3(0, 10, 0);
|
||||
this.object.position = new Vector3(0,0, 10);
|
||||
this.setTarget(0, 0.5, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user