Jump to content


Photo
- - - - -

Top-down Car Physics. Drifting, Collisions & Ai.


  • Please log in to reply
129 replies to this topic

#41 12warr12

12warr12

    GMC Member

  • GMC Member
  • 678 posts
  • Version:Unknown

Posted 30 April 2010 - 01:54 PM

yea, I tryed to make A.I. cars in your example, but it didn't go well
  • 0

#42 Toxikr3

Toxikr3

    GMC Member

  • New Member
  • 35 posts

Posted 03 May 2010 - 11:14 PM

Hi, I have been using this engine as a base for my game and I must say I am having a blast using it!

Really fun to use, and I am starting to understand what you did to make it happen :blink:

Thanks for this,

-Toxikr3
  • 0

#43 egbert1999

egbert1999

    GMC Member

  • New Member
  • 1 posts

Posted 08 May 2010 - 09:37 AM

Great,
I must give credit for this?

(google traslate :))
  • 0

#44 PhiL Blunt

PhiL Blunt

    GMC Member

  • New Member
  • 112 posts
  • Version:GM:Studio

Posted 08 May 2010 - 11:57 AM

http://www.yoyogames...drift-challenge my project that uses this engine.
  • 0

#45 anam3mari

anam3mari

    GMC Member

  • New Member
  • 4 posts

Posted 10 May 2010 - 07:54 AM

It is CoooooooooooooooooL ^_^ :D
  • 0

#46 Exylex

Exylex

    GMC Member

  • New Member
  • 216 posts

Posted 10 May 2010 - 02:03 PM

Thanks for replies, i'm nearly done with the new collision engine that support pixel perfect collisions, i just need to make it functional with the non-pro version.


If anyone is intrested about the new collision engine, here is a preview for gm8 pro:<link removed>
There is no car physics in there, and collisions have no 'friction' yet.

Edited by Exylex, 26 May 2010 - 11:17 PM.

  • 0

#47 12warr12

12warr12

    GMC Member

  • GMC Member
  • 678 posts
  • Version:Unknown

Posted 12 May 2010 - 07:15 PM

Thanks for replies, i'm nearly done with the new collision engine that support pixel perfect collisions, i just need to make it functional with the non-pro version.


If anyone is intrested about the new collision engine, here is a preview for gm8 pro:
Posted Image
There is no car physics in there, and collisions have no 'friction' yet.


when are you going to add those collisions to your car physics engine?
  • 0

#48 Exylex

Exylex

    GMC Member

  • New Member
  • 216 posts

Posted 13 May 2010 - 01:38 AM

Thanks for replies, i'm nearly done with the new collision engine that support pixel perfect collisions, i just need to make it functional with the non-pro version...


when are you going to add those collisions to your car physics engine?


I'm working on it... but i'm pretty occupied with playing the APB beta with my friends :(

Besides the collisions, the car handling is completely rewriten. Here's a lil update where i'm at:
<link removed>

Don't use this in projects, as it's not done. Here is what need to be done before i'll start working on an example:
  • Better collisions (sometimes the car get stuck. Need to be more bouncy).
  • Car - Car collisions.
  • Easier use(User should only need to set Max speed and acceleration, then the engine will adapt itself after that kind of speeds).
  • Correct values. speed and direction set code's are rapidly written.

Edited by Exylex, 26 May 2010 - 11:17 PM.

  • 0

#49 12warr12

12warr12

    GMC Member

  • GMC Member
  • 678 posts
  • Version:Unknown

Posted 13 May 2010 - 07:57 AM

watch this
Posted Image
this happens all the time that you shock with a wall, with the front part of the car
btw, i used this engine, on my game, cause I really needed a collision engine, cause the one i had was really bad, do you want credit?

Edited by 12warr12, 13 May 2010 - 04:27 PM.

  • 0

#50 Exylex

Exylex

    GMC Member

  • New Member
  • 216 posts

Posted 26 May 2010 - 11:41 PM

2.0 out and is now using ExtremePhysics

I think the results compensate the size of ExtremePhysics. You will have to download, install and select the ExtremePhysics for your projects thats use these vehicle scripts.

Lite version will be down while in progress. It will obviously not use ExtremePhysics but will have AI and Pixel Perfect Collisions (not car-car though).

Edited by Exylex, 26 May 2010 - 11:46 PM.

  • 0

#51 Venomous

Venomous

    GMC Member

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

Posted 26 May 2010 - 11:57 PM

Wow! Nice update. This could easily be turned into an awesome racing game.
  • 0

#52 Exylex

Exylex

    GMC Member

  • New Member
  • 216 posts

Posted 27 May 2010 - 12:10 AM

Wow! Nice update. This could easily be turned into an awesome racing game.

Thanks :)

I would love to see completed games using these scripts. I'm about myself to try making an online game with it, APB style :)
  • 0

#53 12warr12

12warr12

    GMC Member

  • GMC Member
  • 678 posts
  • Version:Unknown

Posted 27 May 2010 - 06:46 PM

Very much better :unsure:
you only need to change acceleration speed

Edited by 12warr12, 27 May 2010 - 07:00 PM.

  • 0

#54 Dylan93

Dylan93

    GMC Member

  • GMC Member
  • 866 posts
  • Version:GM8

Posted 27 May 2010 - 07:09 PM

I cant test it, I download the GEX and stuff but when I run it it says a error with Extreme Physics of a argument thats not supported or something.
  • 0

#55 12warr12

12warr12

    GMC Member

  • GMC Member
  • 678 posts
  • Version:Unknown

Posted 27 May 2010 - 07:16 PM

dylan what version of GM you're using? and are you on pro?

Edited by 12warr12, 27 May 2010 - 07:17 PM.

  • 0

#56 Dylan93

Dylan93

    GMC Member

  • GMC Member
  • 866 posts
  • Version:GM8

Posted 27 May 2010 - 08:12 PM

dylan what version of GM you're using? and are you on pro?


GM7&8 and yes offcourse I have pro

btw its a argument thats not supported in the ExtremePhysics GEX, DLL itself.

Looks like I download, or a older version, or a newer version.

Edited by Dylan93, 27 May 2010 - 08:13 PM.

  • 0

#57 Venomous

Venomous

    GMC Member

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

Posted 27 May 2010 - 09:28 PM

dylan what version of GM you're using? and are you on pro?


GM7&8 and yes offcourse I have pro

btw its a argument thats not supported in the ExtremePhysics GEX, DLL itself.

Looks like I download, or a older version, or a newer version.

I got an error too,but I just took away 2 arguments from a line of code where the error was and it worked fine.

Edit:And I played around with it to try and make a mini racing game. The collisions are too bouncty though. You hit a wall you go flying back instead of nicely sliding off.

Edited by XtraButter, 27 May 2010 - 09:41 PM.

  • 0

#58 Exylex

Exylex

    GMC Member

  • New Member
  • 216 posts

Posted 27 May 2010 - 10:26 PM

Thanks for feedback.
12Warr: Do you think the acceleration speed used for the cars in the example is to fast?
Dylan93: ExtremePhysics 2.1 is the correct version.

I got an error too,but I just took away 2 arguments from a line of code where the error was and it worked fine.

Edit:And I played around with it to try and make a mini racing game. The collisions are too bouncty though. You hit a wall you go flying back instead of nicely sliding off.


Yeah, you can run this example with EP 2.0 by doing so, but i recommend downloading the latest :(
And oh my my, i just noted that collisions when using EP2.0 is really weird. :unsure:
  • 0

#59 Newly Discovered

Newly Discovered

    Harmonious Genius

  • New Member
  • 2467 posts
  • Version:GM8

Posted 28 May 2010 - 12:18 AM

real physics make it so much better! I love this.
only thing I see wrong so far, is reverse turning is backwards. I'll edit after I do more testing.
  • 0

#60 Venomous

Venomous

    GMC Member

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

Posted 28 May 2010 - 12:50 AM

Thanks for feedback.
12Warr: Do you think the acceleration speed used for the cars in the example is to fast?
Dylan93: ExtremePhysics 2.1 is the correct version.

I got an error too,but I just took away 2 arguments from a line of code where the error was and it worked fine.

Edit:And I played around with it to try and make a mini racing game. The collisions are too bouncty though. You hit a wall you go flying back instead of nicely sliding off.


Yeah, you can run this example with EP 2.0 by doing so, but i recommend downloading the latest :(
And oh my my, i just noted that collisions when using EP2.0 is really weird. :unsure:

Ok. I tried it now with Extreme Physics 2.1 and its MUCH better.
Its really awsome now.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users