Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| brasil:courses:blender_unity:unity:4_moving_objects [2026/08/25 19:28] – [The Earth rotates...] yann | brasil:courses:blender_unity:unity:4_moving_objects [2026/08/25 19:29] (Version actuelle) – [Exercise] yann | ||
|---|---|---|---|
| Ligne 167: | Ligne 167: | ||
| The script exposes a public variable named “LocalRotationSpeed” that allows you to customize the rotation speed and axis. | The script exposes a public variable named “LocalRotationSpeed” that allows you to customize the rotation speed and axis. | ||
| Set the Y-axis to 50. | Set the Y-axis to 50. | ||
| - | {{ : | + | |
| {{ : | {{ : | ||
| Ligne 177: | Ligne 177: | ||
| In the editor, you can see in real time that your script is changing the GameObject’s rotation along the Y-axis. | In the editor, you can see in real time that your script is changing the GameObject’s rotation along the Y-axis. | ||
| + | {{ : | ||
| ===== Conclusion ===== | ===== Conclusion ===== | ||
| Ligne 185: | Ligne 185: | ||
| ===== Exercise ===== | ===== Exercise ===== | ||
| - | - Add a Milky Way skybox; to do this, use the Asset Store (Milky Way Skybox) | + | - Add a Milky Way skybox; to do this, use the Asset Store (Milky Way Skybox) |
| - Make the moon rotate on its axis | - Make the moon rotate on its axis | ||
| - Make the moon orbit the Earth | - Make the moon orbit the Earth | ||
