Announcement

Collapse
No announcement yet.

Enemy Rotation To Patroil

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

    Enemy Rotation To Patroil

    Hey.

    I am trying to rotate my enemies certain degrees (-60,60) with an event tick, when he reaches -60 he has to rotate to +60.
    I tried some thing like clamp angle and more stuff but its not working for me. How can I make this simple rotation? I know this should be very simple but I can't find out a way to do it.

    If anyone can help me I would appreciate it.

    Thanks

    #2
    SetRelative or SetWorld rotation nods

    Comment


      #3
      You can use a sine wave.

      Click image for larger version

Name:	SinRotation.PNG
Views:	24
Size:	53.4 KB
ID:	1694431

      Comment


        #4
        Originally posted by GarnerP57 View Post
        You can use a sine wave.

        Click image for larger version

Name:	SinRotation.PNG
Views:	24
Size:	53.4 KB
ID:	1694431
        Thank you so much!

        Comment

        Working...
        X