• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by SmoFo · Feb 07, 2015 at 10:01 AM · 2d-platformerinventorysystemequipment

How to create a 2D equipment system?

I have created my inventory system, although I am not sure how I can allow those items to be physical objects, right now they are just in the inventory for looks, I would love to learn how to equip them to the player. I have also scripted a weapon, I am just not sure if I am able to connect those two, if anyone could help me I would be very greatful. The game is a side-scroller.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Zargo · Feb 08, 2015 at 07:59 PM 0
Share

Posting the scripts would help out people trying to help you.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by hexagonius · Feb 16, 2015 at 10:08 PM

Usually your Character should have several sockets in form of gameobjects somewhere on your character. Ideally they are rotated the same way your assets are. If you then make the current equipment item's transform parent that socket, set its position to 0/0/0 and align its rotation it should do.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by ik1602 · Feb 23, 2015 at 01:03 PM

Try our free asset Diabolic RPG Inventory - Free http://goo.gl/gn68Hj

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

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

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How can you make an inventory and crafting system? 0 Answers

inventory help 1 Answer

Access Inventory from player 1 Answer

Inventory adding items question 0 Answers

Inventory system? 3 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges