Announcement

Collapse
No announcement yet.

WalkableFloorZ

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

    WalkableFloorZ

    Guys does anyone know why my walkablefloorZ value doesn't seem to work for gametype none and how I can fix this?

    #2
    Bump!?

    Any ideas, Anyone?

    Comment


      #3
      I suppose that if you are extending from gametype none, then the class that was filling the variable was missing.

      You can do a vertical trace to the floor and use hitnormal to find the floor inclination.

      Comment


        #4
        Thanks for that cobalt, however what i meant was if you use gametype none in which script file is the variable for WalkableFloorZ used?

        Comment


          #5
          That variable are declared in Pawn.uc, your class are extending from Pawn.uc (or some other that extends from pawn.uc, like UDKpawn.uc, for example) ?

          If not (for example are extending directly from actor.uc), then that var doesn't exists in your code. You can create it in your class and do a copy of the functions thats manage it, if you need.

          Comment


            #6
            Ah ok, thanks cobalt!

            Comment

            Working...
            X