Announcement

Collapse
No announcement yet.

Target Indicator/Marker

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

    Target Indicator/Marker

    I've created an Actor that contains a Static Mesh which I attachTo a socket on my Pawn. I'm curious if this is an appropriate way to display an indicator like this, or if there is benefit in doing an effect/something else? Also, if the static mesh is appropriate, how can I make the mesh lay flat on the floor instead of 'bouncing' as my character walks?

    #2
    Bump. Can anyone advise me on how to keep my Indicator mesh on a flat plane?

    Comment


      #3
      maybe try a decal instead
      tegleg.co.uk - indie electronic music label
      Android + HTML5 WIP Physics Game
      PC Games - Android Apps

      Comment


        #4
        Indeed, spawning a DecalComponent is probably what you're looking for. It can either be spawned at location or attached to an Actor.

        Comment


          #5
          Great, I will try a decal later today.

          Though I managed to attach the static mesh to the root component which prevents it from wobbling like it did when it was attached to a socket. Is there an easy way to attach to the root component at some offset?

          Thanks for your help guys!

          Comment


            #6
            Originally posted by Hagg View Post
            Is there an easy way to attach to the root component at some offset?
            The transforms on scene components are called "relative" for a reason...

            Trace downwards from the root component to figure out the distance you'll need to offset by, then apply that distance to RelativeLocation.Z .

            Comment

            Working...
            X