Changeset 11934 for code/branches
- Timestamp:
- May 3, 2018, 3:47:08 PM (7 years ago)
- Location:
- code/branches/OrxyRoad_FS18
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxyRoad_FS18/data/levels/templates/OrxyRoadPattern.oxt
r11914 r11934 75 75 76 76 </Template> 77 78 <Template name=cokebottle> 79 80 <OrxyRoadCube position="0,0,0" direction="0,0,0" scale="1" collisionType=dynamic mass=1 friction=0.01 > 81 <attached> 82 <Model position="0,0,0" mesh="cokebottle.mesh" scale="50" /> 83 84 </attached> 85 <collisionShapes> 86 <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> 87 88 </collisionShapes> 89 </OrxyRoadCube> 90 91 </Template> -
code/branches/OrxyRoad_FS18/data/levels/templates/spaceshipOrxyRoad.oxt
r11899 r11934 80 80 <OrxyRoadShip> 81 81 <camerapositions> 82 <CameraPosition position=" 0,100,180" direction="0, -0.2, -1" drag=false mouselook=true />82 <CameraPosition position="200,200,360" direction="-0.4, -0.4, -1" yaw="0" drag=false mouselook=true /> 83 83 <CameraPosition position="0,200,250" direction="0, -0.4, -1" drag=false mouselook=true /> 84 84 <CameraPosition position="0,30,150" direction="0, 0, -1" drag=false mouselook=true /> -
code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.cc
r11916 r11934 91 91 void OrxyRoad::tick(float dt) 92 92 { 93 SUPER(OrxyRoad, tick, dt); 94 93 95 OrxyRoadShip* player = this->getPlayer(); 94 96 if (player != nullptr) … … 148 150 149 151 } 150 SUPER(OrxyRoad, tick, dt);151 152 } 152 153 -
code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoadShip.cc
r11908 r11934 144 144 if (camera != nullptr) 145 145 { 146 //camera->setPosition(Vector3(pos1.x - 10 ,50,0));146 camera->setPosition(Vector3(0 ,50,50)); // try to get side/top view 147 147 //camera->setOrientation(Vector3(-1,-1,0), Degree(45)); 148 148 //camera->setOrientation(Vector3(-1,-1,-1), Degree(0));
Note: See TracChangeset
for help on using the changeset viewer.