Jump to content

How do I make an object usable?


Brutile
 Share

Recommended Posts

How do you make an object usable for the pickup system in the FPSPlayer script?

 

I've made the object a rigidbody and a prop type, and I've set a mass, but I can't pick it up.

Anyone know how to get this working?

 

My object structure is:

 

STATIC_MESH

collision

cube

 

The properties were set on the STATIC_MESH object

Link to comment
Share on other sites

It should still work. I have a box that uses 5 "collision" objects to create the physics for the box and I can pick it up using the pickup system. You might have to hide the "collision" objects that are parented to your entity so that your pick hits the entity and not the "collision" object. That worked for me at least and it kept the physics I wanted even though the objects were hidden.

  • Upvote 1

Check out my game Rogue Snowboarding- 

https://haydenmango.itch.io/roguesnowboarding

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...