The goal of this test task is to implement the following mechanics:
-
Cannon Control:
- Implement functionality to control the cannon's aim and firing.
-
Projectile Trajectory:
- Create a trajectory system for the projectile flight.
- Allow for changing the firing power and projectile speed.
-
Mesh Generation:
- Dynamically generate a custom mesh for the projectiles.
-
Projectile Variations:
- Projectiles should have different shapes.
- Use randomness to modify vertex positions for variation.
-
Custom Physics for Flight:
- Implement projectile flight using a custom physics system, without relying on
Rigidbody.
- Implement projectile flight using a custom physics system, without relying on
-
Ricochet Mechanics:
- Projectiles should bounce (ricochet) off surfaces.
-
Impact Effects:
- Projectiles should leave a mark when hitting a wall (use
RenderTexture). - Projectiles should explode on the final ricochet.
- Projectiles should leave a mark when hitting a wall (use
-
Camera Shake:
- Implement camera shake upon firing the cannon.
-
Cannon Recoil Animation:
- Add a visual recoil effect for the cannon barrel.
- The following are not allowed:
- Using
Rigidbodyfor projectile simulation. - Using
Physics.Simulate. - Using
Animator.
- Using
Feel free to reach out if additional clarification is required.