Announcement

Collapse
No announcement yet.

Gravity

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

    Gravity

    HI!
    I wanted to make a game where you have a gun which can change the gravity of an object with only a click...
    so for example there is a box in the middle of the room and by pointing at it and then clicking it will go up(less gravity) or down (more gravity)
    so im a total newbie in that kind of stuff, any help will be appreciated

    (sorry for my bad english because im german^^)

    #2
    Someone?
    A link to a tutorail would be great too!

    Comment


      #3
      You could fake it by adding velocity to the target objects. I believe that gravity is set globally per map, and if you wanted to change the way gravity worked in the game you would need to do some serious low level coding.

      Try the adding velocity hack, just enough to overcome the gravity + a little more to send it up.

      Comment


        #4
        Thank you very much !

        But how do you do that?
        How do you add velocity and then change it by clicking?

        Comment


          #5
          Originally posted by scrapland View Post
          Thank you very much !

          But how do you do that?
          How do you add velocity and then change it by clicking?
          unrealscript.

          Comment


            #6
            Ok i will ask in the programing and scripting forum for more info
            Thank you

            Comment

            Working...
            X