x


Creating an item, equipping it to a character?

How do I make an item, like on FusionFall? Are these two in script, not script, or some mix between the two?

more ▼

asked Jul 26 '10 at 02:11 PM

FusionFallman gravatar image

FusionFallman
11 3 3 5

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

1 answer: sort voted first

Usually equippable items are implemented as prefabs, with attached scripts for data and behaviour, with a common script or base class for all equippable items. Then at equip time they are instantiated and parented to an appropriate transform in the character skeleton. You can later find equipped items by searching for specific scripts in the object hierarchy.

more ▼

answered Jul 26 '10 at 06:14 PM

Magnus Wolffelt gravatar image

Magnus Wolffelt
457 9 11 26

Thanks, I really needed that.

Jul 31 '10 at 06:48 PM FusionFallman
(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:

x3329
x1043
x44

asked: Jul 26 '10 at 02:11 PM

Seen: 1622 times

Last Updated: Jul 26 '10 at 02:11 PM