Announcement

Collapse
No announcement yet.

Attaching an actor to another actor has never worked for me.

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

    Attaching an actor to another actor has never worked for me.

    Many times i've attempted to attach an Actor to another using SertBase(), however this has never worked for me, and i always end up setting location in it's tick function to achieve what i'm after.

    Is there some property I may be missing that is preventing this from working?

    #2
    I think the only time I've ever successfully attached an actor to another actor is with sockets on a skeletal mesh. If you can tolerate the 1 fps video capture, take a look at https://youtu.be/62UX7ZD_ghQ?t=32s from an old project of mine.

    Is this regarding your attempt to attach something in front of the camera? What does the Kismet attach actor node do? It might worth looking into seeing what happens if you try placing a camera actor in the world, attach the camera to your pawn, and attach another actor to the camera. If that works, then there might be a hint in the Kismet attach actor code on how to attach one arbitrary thing to another in UnrealScript.
    Last edited by Nathaniel3W; 07-05-2018, 01:19 AM.
    Check out Himeko Sutori, the upcoming tactical RPG where you control armies of over 100 unique characters.

    Comment


      #3
      SetBase() has worked for me always as far as I remember
      what kind of actors are they, and what physics type are they running at the time?
      Follow me on Twitter!
      Developer of Elium - Prison Escape
      Local Image-Based Lighting for UE4

      Comment


        #4
        Hmmmm, just tested this again and it's now working, so unsure what was I was doing wrong in the past.

        Comment

        Working...
        X