Announcement

Collapse
No announcement yet.

How do I snap an actor's component to a different actor's component?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I snap an actor's component to a different actor's component?

    Hi,

    I've been trying to snap 2 cubes together during runtime by using box components, so in theory they align with other cubes with the same box components nicely. I was wondering how this can be done whilst still keeping the static mesh's relative location to the box components?

    Click image for larger version

Name:	1.jpg
Views:	1
Size:	43.7 KB
ID:	1159203


    I have tried a number of methods but I can't seem to get it right.
    Any suggestions on how to achieve this are much appreciated.

    Jon
    Q.U.B.E. 2 | Q.U.B.E: Director's Cut

    #2
    why not put sockets on the corners of your cube static mesh and use those to snap the cubes together with an attach to node? You can find the socket manager in the static mesh editor. I've had this work really well for snapping static meshes together, although mine were cylinders.

    Attached Files
    Last edited by quality; 08-10-2015, 06:34 PM.
    CTO Villusion Studios
    Grad Student in Interactive Design and Game Development, SCAD
    company site: http://www.villusionstudios.com/

    Comment


      #3
      So socket attach to socket? Hmm Rama suggested something similar to me before. Ok I'll give it a go.

      Thanks!
      Jon
      Q.U.B.E. 2 | Q.U.B.E: Director's Cut

      Comment

      Working...
      X