x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can only grab character when hand is within its capsule component, not the skeletal mesh itself

I can grab a character that is simulating physics using the provided Pickup Actor Interface only when the VR hand is within the character's capsule component. Grabbing within the capsule somehow grabs a random bone on the mesh and attaches it to a physics handle that is in my BP_MotionController. It might be grabbing the nearest bone relative to the capsule. Placing the hand on the skeletal mesh itself (which is child to the capsule component) and attempting to grab the closest bone does not do anything (no scripting is fired). I am using the third person character from the third person template for the mesh I am trying to grab and haven't changed any of the settings.

Here you can see the capsule and the character simulating physics that I'm trying to grab and pickup. alt text

I am basing my grab scripting pretty much exactly off of the solution found in this forum post: https://answers.unrealengine.com/questions/734377/vr-handle-skeletal-bones-pickup.html?sort=oldest The grabbing itself works, it's just the mesh itself not responding to the grabbing.

My Grab Character function (based off of Grab Actor in VR template) which feeds into the pickup interface

alt text

Here's a picture of my pickup interface's pickup event in the third person character BP.

alt text

Third Person Character component hierarchy

alt text

Any help would be appreciated!

Product Version: UE 4.20
Tags:
more ▼

asked Apr 16 '19 at 02:45 AM in VR

avatar image

Kami822
24 4 4 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I have it working now - it turns out that another interface I implemented similar to Pickup Actor Interface was interfering with the entire process. This is unlikely to happen in any other project.

more ▼

answered Apr 24 '19 at 12:37 AM

avatar image

Kami822
24 4 4 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I have it working now - it turns out that another interface I implemented similar to Pickup Actor Interface was interfering with the entire process. This is unlikely to happen in any other project.

more ▼

answered Apr 24 '19 at 12:37 AM

avatar image

Kami822
24 4 4 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

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

Answers to this question