Announcement

Collapse
No announcement yet.

Walking on walls

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

    Walking on walls

    Guys, how to make my character to start walking on walls (as well as on the floor of course).
    Thank you.
    Regards
    smallB

    #2
    It's actually a hard thing. First make the pawn be upside-down using the 6DOF tutorial on the forum.

    Comment


      #3
      You mean something like this: http://www.youtube.com/watch?v=s2Yg2gH0PNc ?

      Comment


        #4
        You could mess around with the point gravity ^^ : http://www.youtube.com/watch?v=BAMWZ0a3GyA

        Comment


          #5
          Point gravity for pawns may be hard. But I would do it like that:
          1# Use the 6dof tutorial.
          2# in the point grAvity center:
          Foreach pawns(Actualpawn)
          {
          If (location-actualpawn.location < gravityrange)
          ActualPawn.rotation = rotator(location - actualpawn.location);
          ActualPawn.GravityInfluence = normal(location - actualpawn.location) * 10

          Comment


            #6
            Google is probably your friend; this thread has come up a million times, and several of those threads probably contain working code.

            Comment


              #7
              Originally posted by ambershee View Post
              Google is probably your friend; this thread has come up a million times, and several of those threads probably contain working code.
              I must say, I've seen this thread plenty of times too, but I've never seen the code :P only links to some games that do it.

              Comment


                #8
                the very first few results on google contain scripts
                http://www.google.co.uk/#biw=1440&bi...5707fd9abddbbf

                Comment


                  #9
                  Ok guys, will try (some time from now).
                  Thank you all.
                  Regards
                  smallB

                  Comment


                    #10
                    @fighter5347 yes, exactly like this!

                    Comment

                    Working...
                    X