Announcement

Collapse
No announcement yet.

Sir, I am using Visual Blueprint Scripting to attach a mesh to a socket

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

    Sir, I am using Visual Blueprint Scripting to attach a mesh to a socket

    Hi Friends,

    I am using Visual Blueprint Scripting to attach and detach a mesh to a socket but it is giving compilation error. I have attached the image files of the Visual BluePrint Scripting. If you can give your emails I will send the compiler errors.
    Regards,
    RobertVanHalen
    Attached Files

    #2
    Hi Friends,

    Please reply.
    Regards,
    Robert VanHalen.

    Comment


      #3
      It probably does not have access to his character. You should "Cast" your character for this.

      You can check the link for more detailed information.
      https://docs.unrealengine.com/latest...ide/CastNodes/

      Comment


        #4
        You should include the compile error in your screenshots. My guess for why you are getting a compile error would be that you are trying to take an array and plug it into a single variable, seen in this screenshot. The Out Actors pin from your Get Attached Actors function is an array, and the Target pin on your DetachFromActor function is not. You would need to iterate over the array using a For Each loop and detach them individually.

        Comment


          #5
          Hi Friends,

          I have attached the compiler errors.
          Regards,
          Robert Van Halen
          Attached Files

          Comment


            #6
            Hi Friends,

            Please answer to the above questions.
            Regards,
            Robert Van Halen.

            Comment

            Working...
            X