Results 1 to 7 of 7

Thread: Vehicle physics

  1. #1
    Developer
    Join Date
    Jun 2010
    Location
    Hungary
    Posts
    291

    Default Vehicle physics

    I'm trying to make better physics for vehicles but i can't script 1-2 things. Is it planned in the future to make better the physics for vehicles?

    If anyone has a good physics script for vehicles then i would accept it with pleasure.

  2. #2
    Developer Sor's Avatar
    Join Date
    Aug 2010
    Location
    The Medieval City of Bruges
    Posts
    747

    Default

    What is the problem? What do you have so far?
    Morpheus Script (MoH) => You try to shoot yourself in the foot only to discover that MorpheusScript already shot your foot for you.

  3. #3
    Developer
    Join Date
    Jun 2010
    Location
    Hungary
    Posts
    291

    Default

    i have player-vehicle collision, obstacle-vehicle collision, acceleration-deceleration. Now i want fraction and deceleration by the gravity on slope but i don't know how to define the direction of this slip.

  4. #4
    Banned
    Join Date
    May 2010
    Location
    fuck off?
    Posts
    1,145

    Default

    I used traces to work out angles.

    4, 1 down from each wheel.


    The difference in height between the front and back gives you the slope.

    note: I didnt do this which is why mine failed, but I think you will need to workout the location and slope and height the car should be at before moving it to the next position. That should work.....oh and don't let it go too fast :P

  5. #5
    Developer
    Join Date
    Jun 2010
    Location
    Hungary
    Posts
    291

    Default

    and if the standing vehicle is in angle and not parallel with the slope?

  6. #6
    Banned
    Join Date
    May 2010
    Location
    fuck off?
    Posts
    1,145

    Default

    you have 4 traces from each wheel

  7. #7
    Developer
    Join Date
    Jun 2010
    Location
    Hungary
    Posts
    291

    Default

    if you will have time make me a script about it because now i can't imagine :P

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •