Stick objects together (VR)
I'm making a small game where there are objects floating around. If you grab the correct paring and put them together they stick together and then float off.
I'm not worried at this point about how it knows if they are correct. I'm more concerned about them sticking together. I can't for the life of me find anything anywhere. I need them to float around, be grabbed, then stick to each other and then continue to float around
Many Thanks for any help given
asked Nov 27 '17 at 10:59 AM in Using UE4
Sounds like for each pair, you might want to create a half that has a scene component, that is positioned so that when you decide that 2 objects match, you attach one half to the one with the scene component.
1 Object, split into 2 halves, Obj A and Obj B. Obj A has a scene component that when Obj B is attached to (Attach to Component of Obj A), it looks like they have formed one object. Once attached (Probably want to use snap to), you can then move Obj A, and Obj B will move with it as it is attached.
Quite a basic overview really, but hope it helps.
answered Nov 27 '17 at 04:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here