Changes between Version 54 and Version 55 of pps/tutorial
- Timestamp:
- Sep 30, 2013, 11:22:10 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pps/tutorial
v54 v55 147 147 }}} 148 148 Of course ClassX has to be replaced with the class name of the object you want to create. Additionally the parameters ''variable1'', ''string1'' and ''coord1'' are just examples, they have to be replaced by the appropriate parameters for your drone. 149 3. Now add the appropriate entries for the variables you defined in ''AutonomousDrone.cc''. (Have a look at ''data/levels/templates/spaceship _assff.oxt'' for example values of the different thrusts).149 3. Now add the appropriate entries for the variables you defined in ''AutonomousDrone.cc''. (Have a look at ''data/levels/templates/spaceshipAssff.oxt'' for example values of the different thrusts). 150 150 4. As we want our drone to be visible we have to attach a model to it. Add the following code between the above 2 lines: 151 151 {{{