x


Making the Terrain Trees Break

Hey!! I need my FPS player to shoot the trees placed on the terrain, and there will be scoring on each fire that hits the tree. After each fire I want the tree, that is hit, to disappear. Please suggest me how to do this.


I am a beginner so please be concise. Thanks!

more ▼

asked Jul 04 '12 at 06:19 AM

dashing_buddy gravatar image

dashing_buddy
0 1 4 6

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

It's not easy but it's doable through terrain data. There is a script on here somewhere that explains how to do access them but it's essentially using terrain data which puts all the trees into an array and you can use a for loop to go through them and access the one you want.

more ▼

answered Jan 05 at 02:15 AM

madmike6537 gravatar image

madmike6537
199 2 9 30

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1953
x1477
x140
x98
x25

asked: Jul 04 '12 at 06:19 AM

Seen: 401 times

Last Updated: Jan 05 at 02:15 AM