Tree chopping system

I am working on my first game. In my game i wanna to make a tree chopping system. I watched a video but it dosent work.
How to make a tree chopping system in Unity

This question is too broad to be answered. What have you tried? What didn’t work? You are more likely to succeed and get help if you go step by step.

Precisely like every other game: one step at a time (as CodeSmile already notes above).

Start with a tree and a “Chop Down” button and get that working.

Then hook it up so when the button is chopped, the tree is replaced by a stump.

Until you have a tree and a button that turns it into a stump, nothing else matters.

After that, build on the next step: animate the chop-down.

Two steps to tutorials and / or example code:

  1. do them perfectly, to the letter (zero typos, including punctuation and capitalization)
  2. stop and understand each step to understand what is going on.

If you go past anything that you don’t understand, then you’re just mimicking what you saw without actually learning, essentially wasting your own time. It’s only two steps. Don’t skip either step.

Imphenzia: How Did I Learn To Make Games:

I cant write c# I am learning. Pls can you write a code for me.

Nobody can “code for you,” the same way nobody can “eat for you.”

One step at a time, I urge you to start today. See above.

If you get stuck, here is how to use these forums effectively:

How to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

This is the bare minimum of information to report:

  • what you want
  • what you tried
  • what you expected to happen
  • what actually happened, log output, variable values, and especially any errors you see
  • links to actual Unity3D documentation you used to cross-check your work (CRITICAL!!!)

The purpose of YOU providing links is to make our job easier, while simultaneously showing us that you actually put effort into the process. If you haven’t put effort into finding the documentation, why should we bother putting effort into replying?

If you post code, only post the relevant code and always use the format button above. Do not post photographs of code.