Jump to content


Photo

Vehicle Physics (Car on Terrain) Over 500 fps! Only one script!


  • Please log in to reply
4 replies to this topic

#1 GreatandWiseOne

GreatandWiseOne

    GMC Member

  • Banned Users
  • 79 posts
  • Version:GM:Studio

Posted 11 May 2015 - 01:11 PM

2sa16dc.png

 

Vehicle Physics look no further. This is the most advanced vehicle physics example on the boards.

 

The old vehicle physics (wild jump, persich.hu) had some problems. For one, the downloads didn't work, and two it was ineffecient and hard to understand..

 

This example has the maximum efficiency you can get. It also has some minor improvements, such as improved compensation of gimbal lock and much less code. The example is provided free of charge but we recommend you donate to charity (like animal rights.) 

 

The example also provides a nice demo of how it works in 2d. The concepts should be simple to understand and take a look at o_bench if you need any help. This is a 3D example and you might be suprised that it runs on 3 wheels. In an actual render you would not draw the wheels and replace the box with the car model. Happy gaming!

 

http://host-a.net/u/...clephysics.gm81

 

Edited by GreatandWiseOne, 11 May 2015 - 01:12 PM.

The age old dillemna - 3D Car on 3D Terrain. Over 500 fps. Only 1 script. Maybe works on Studio. Download now.

2vcg7b7.png <3d Car Physics Explained. Vega Drift Physics 3d> 2dl2lug.png

The most advanced drift and car physics in GM.                         


#2 RujiK

RujiK

    GMC Member

  • GMC Member
  • 841 posts
  • Version:GM:Studio

Posted 11 May 2015 - 01:41 PM

The most advanced vehicle physics is in gm8.1?


  • 0

#3 GreatandWiseOne

GreatandWiseOne

    GMC Member

  • Banned Users
  • 79 posts
  • Version:GM:Studio

Posted 11 May 2015 - 02:26 PM

The most advanced vehicle physics is in gm8.1?

Yes. There are DLLs (like Newton car physics) but they don't work for high speed games. This is also the most effecient frame-rate wise and easiest to understand.


Edited by GreatandWiseOne, 11 May 2015 - 02:27 PM.

The age old dillemna - 3D Car on 3D Terrain. Over 500 fps. Only 1 script. Maybe works on Studio. Download now.

2vcg7b7.png <3d Car Physics Explained. Vega Drift Physics 3d> 2dl2lug.png

The most advanced drift and car physics in GM.                         


#4 RujiK

RujiK

    GMC Member

  • GMC Member
  • 841 posts
  • Version:GM:Studio

Posted 11 May 2015 - 02:41 PM

Oh yeah, I forgot GM:Studio only has built in 2d physics.

Unfortunately, I do not have the pro version of gm 8.1 so I won't be able to try the example.


  • 0

#5 GreatandWiseOne

GreatandWiseOne

    GMC Member

  • Banned Users
  • 79 posts
  • Version:GM:Studio

Posted 12 May 2015 - 12:25 AM

Oh yeah, I forgot GM:Studio only has built in 2d physics.

Unfortunately, I do not have the pro version of gm 8.1 so I won't be able to try the example.

Gm 8.1's are usually loadable with studio. This has a low texture count so it should work.


Edited by GreatandWiseOne, 12 May 2015 - 12:26 AM.

The age old dillemna - 3D Car on 3D Terrain. Over 500 fps. Only 1 script. Maybe works on Studio. Download now.

2vcg7b7.png <3d Car Physics Explained. Vega Drift Physics 3d> 2dl2lug.png

The most advanced drift and car physics in GM.