增加地面,增加放置区域筛选逻辑

This commit is contained in:
2026-05-21 09:56:13 +08:00
parent b5b70251e2
commit c504fca3de
10 changed files with 377 additions and 35 deletions

View File

@ -31,8 +31,8 @@ export class AppCamera extends Monobehiver {
// 限制垂直角范围,实现上帝视角
this.object.upperBetaLimit = Tools.ToRadians(90); // 最大垂直角接近90度避免万向锁
this.object.position = new Vector3(-0, 10, 0);
this.setTarget(0, 2, 0);
this.object.position = new Vector3(0, 10, 0);
this.setTarget(0, 0.5, 0);
}
/** 设置相机目标点 */