Announcement

Collapse
No announcement yet.

Model rotation

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

    Model rotation

    Hi there,

    I was searching for a way to make a 2D plane always rotate towards the player position. Found a few threads but honestly I'm lost. Anyone can guide me for the setup of the shader?

    Thanks.

    #2
    Check if billboard works for you.

    If not you need to make blueprint actor and rotate that plane trough script.
    It should work like this:
    get player pawn > get world location > get look at rotation > set relative rotation (for your 2d mesh component, depending on setup world rotation may be better)

    Connect this all to event tick.

    Comment


      #3
      Originally posted by Nawrot View Post
      Check if billboard works for you.
      Can you explain a little more please?
      Also no blueprint. I want to do this via material editor if possible.

      Comment


        #4
        Add billboard to scene apply material thats all.

        Or try particle system with single plane mesh particle that has your 2d texture.

        Comment


          #5
          Originally posted by Nawrot View Post
          Add billboard to scene apply material thats all.
          I know what you mean, but I mean where is that billboard you say?
          (Is that in starter content?)

          Comment

          Working...
          X