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"

Object won't attach to mesh.

I have a mesh set to spawn at the location of my right vr hand. I am also telling blueprint to attach it so it moves, but it just stays put in the air. Yes it's already set to moveable. I've tried every combination I can think of and nothing is working. Also I've looked for every post, and youtube video explaining this, and they are all either for 3d (not vr) or outdated. Any help appreciated thanks. alt text

Product Version: UE 4.19
vrissue.png (171.8 kB)
more ▼

asked Apr 06 '18 at 12:00 AM in Blueprint Scripting

avatar image

3 2 3 6

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

1 answer: sort voted first

I believe that you want to attach it specifically to the MotionController component, not the Right Controller actor. You're already using that transform to spawn the actor, so change your AttachToActor function to an AttachToComponent function.

more ▼

answered Apr 06 '18 at 12:27 AM

avatar image

274 4 9 12

avatar image totallysane Apr 06 '18 at 12:42 AM

it seems like anything i "parent" it too, keeps it from spawning. I did try your way.... no go

avatar image dachora1 Apr 06 '18 at 06:07 AM

Try changing the Collision Handling Override to "Always spawn, ignore collisions" and see if that helps.

If not, that sounds like there may be a separate issue going on. Putting a break point on the node immediately after the SpawnActor, does the spawn actor have a valid output at that moment? If so, then something else is destroying the actor almost immediately. If it doesn't, that seems like a bug or like the actor is destroying itself on its own begin play.

If SpawnActor is set to always spawn in that collision handling setting, I don't know of any cases where it shouldn't spawn something, short of a bug.

avatar image totallysane Apr 08 '18 at 06:32 AM

I figured it out! Seems on AttachtoComponent I needed to have location rule set to Snap to target. I'm pretty sure I did that before but it worked yay!

(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