Description: cameraController = new CameraController(stage)
cameraController.camera = camera
// Set default control keys——设置默认控制键
cameraController.setDefaultBindings()
// Turn on camera collision detection——打开摄像机碰撞检测
cameraController.checkCollisions = true
// Set collision detection radius for camera——设置摄像机碰撞检测弧度
cameraController.collisionRadius = 20
// Aim camera at the cube primitive——把摄像机定位到原始立方体上
cameraController.lookAt(box.coords)
// Activate camera controls——摄像机激活控制
cameraController.controlsEnabled = true Latest touch——最新的接触
So, scene is ready, camera is set, we just have to “push the b
To Search:
File list (Check if you may need any files):
.settings\org.eclipse.core.resources.prefs
html-template\history\history.css
.............\.......\history.js
.............\.......\historyFrame.html
.............\index.template.html
.............\playerProductInstall.swf
.............\swfobject.js
src\WireFrameExample.as
.actionScriptProperties
.project