Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by AndrewAMD. 12/05/23 10:56
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (3run, AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip), 605 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 8 1 2 3 4 5 6 7 8
Re: Formula Cars - Reworked [Re: fogman] #110799
02/05/07 20:03
02/05/07 20:03
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Quote:

No joke - I think you could make money with such a perfect car behavior. Add an AI and you can sell a race template. Iīll be your first customer.






Your racing game does look very promising Carloos, can't wait the see a new potential demo, btw this was meant as a very subtle clue if you know what I mean

Cheers

Frazzle


AntecŪ Case
IntelŪ X58 Chipset
IntelŪ i7 975 Quad Core
8 GB RAM DDR3
SSD OCZŪ-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIAŪ GeForce GTX 295 Memory 1795GB
Re: Formula Cars - Reworked [Re: fogman] #110800
02/05/07 20:06
02/05/07 20:06
Joined: Mar 2005
Posts: 514
Brazil
Carloos Offline OP
User
Carloos  Offline OP
User

Joined: Mar 2005
Posts: 514
Brazil
Quote:

No joke - I think you could make money with such a perfect car behavior. Add an AI and you can sell a race template. Iīll be your first customer.




This is in my plans

Re: Formula Cars - Reworked [Re: Carloos] #110801
02/05/07 21:13
02/05/07 21:13
Joined: May 2002
Posts: 2,541
Berlin
EX Citer Offline
Expert
EX Citer  Offline
Expert

Joined: May 2002
Posts: 2,541
Berlin
Hmm, I was asking because F1 is very much a not drifting race, thats also why I donīt like F1.

Itīs like watching snails. The same movement, just faster.

Rally racing is for me much more exciting because itīs going up and down and drifting here and there. Thatīs fun.

The first time I see a F1 car doing a power drift... thatīs cool.


:L
Re: Formula Cars - Reworked [Re: EX Citer] #110802
02/05/07 22:10
02/05/07 22:10
Joined: Mar 2005
Posts: 514
Brazil
Carloos Offline OP
User
Carloos  Offline OP
User

Joined: Mar 2005
Posts: 514
Brazil
well

Maybe today, F1 cars runs as they are on trails... who played GP4 or GP3 knows what I mean.

But I remember when F1 cars drift a lot. That was really interesting. Viva Gilles....

This car I show in my Project is more suited to a F3 or Formula Renault. Anyway, tyres pressure, suspension stiffness and wings angle contribute to a drift / grip behaviour, in my code, everything can be configured in the "pits" of the game.

There are major parameters hard coded, limiting this setup options to each car type, to avoid a karting behaviour from using a F3 engine power.

Re: Formula Cars - Reworked [Re: Carloos] #110803
02/05/07 22:39
02/05/07 22:39
Joined: Jan 2002
Posts: 3,176
VPrime Offline
Expert
VPrime  Offline
Expert

Joined: Jan 2002
Posts: 3,176
Technically its not drifting in that pic.. just power sliding

Also you can drift a F1 car.. you just don't see it happen really because the drivers don't try to drift.
The fact that the drivers don't drift, doesn't mean its not possible

any ways your project sounds very interesting, I really want to see how the physics react.

Question though, you say your not using any physics engine? Does that mean every thing is done with c script? isn't this a little less efficient, and less realisitc (and a lot harder) then an actual physics engine?

Re: Formula Cars - Reworked [Re: VPrime] #110804
02/05/07 23:45
02/05/07 23:45
Joined: Mar 2005
Posts: 514
Brazil
Carloos Offline OP
User
Carloos  Offline OP
User

Joined: Mar 2005
Posts: 514
Brazil
VPrime :

Yes, its power slidding at the pic. But it also drifts. Anyway the physical causes are related.

Everything is done with c-script. Itīs a lot harder, but far more realistic, at least for racing games that dont want to "be arcade". ( IMO )

Re: Formula Cars - Reworked [Re: Carloos] #110805
02/06/07 07:49
02/06/07 07:49
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline
Expert
William  Offline
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
Considering c_move() allows for both absolute movement and relative movement, I can't really think of a reason why not to use it(alongside c_rotate()) in absolute. C_move() just translates your mathematical movement while adding collision.

For suspension, I use 5 c_traces. One for each wheel, and one for the chassis. The chassis is rotated according to the avergae of the wheel traces. The chassis trace is to detect things like turbo boosts ect. The suspension is limited so it cannot go to far up or down.

I set up my kart as 2 entities. One contains the chassis and wheels. The wheels and chassis all have bone joints. This entity is passable. The second entity is the collision entity, it's basically a cube. This entity does all my physics work(movement ect.). The level is passable, as I've set up invisible collision walls. This keeps things simple. For kart-kart collision, I keep the karts moving into eachother as passable. By using a scan, I detect karts, then use math to "bounce" the kart in the proper direction.

While my game is arcade racing(think Mario Kart), perhaps some of this might help you in your realistic racing. I applaud you for developing your own physics system, it's quite an undertaking to do right(drifting, gravity mechanics, ect.), but well worth it in the end(one of the best things I did was ditch the physics engine).

Re: Formula Cars - Reworked [Re: William] #110806
02/06/07 12:44
02/06/07 12:44
Joined: Mar 2005
Posts: 514
Brazil
Carloos Offline OP
User
Carloos  Offline OP
User

Joined: Mar 2005
Posts: 514
Brazil
Thankyou for your considerations, William, and thankyou again for share your workaround with your kart racing game.In fact, I decided to start developing my own physics reading your posts from some time ago. Thanks for your inspiration lol. Was really a good thing to do.

I use almost the same approach as you, but my wheels are free, dont use bones, and I have suspension arms between the chassis and the wheels, one for each wheel. The suspension arms are still a little unstable, but they almost ready to go, maybe just need a little more work.

I had several problems using glidded c_move, with the car finishing in weird places, due to my math mistakes, probably.

I also implemented my collision with a cube, but Iīm still unable to detect its collision with the environment properly.

I dont have a invisible collision mesh, that would be almost impossible in my case, because of the track slopes, ups downs and so on. So I c_trace directly to the track surface. I want the car being able to collide with every poly in the track, and dont want to make invisible walls around all the track and obstacles.

I also tryed to use scan without success, also because of my lack of ability to use it.

My last approach to this was stablish c_traces from extreme positions in the chassis ( front_left, front_right, rear_left,Rear_right ) and look for something that could penetrate the chassis boundaries to evaluate the collision. I had relative success on it, but still need to integrate it in the centripetal / longitudinal forces, and this is being a nightmare.

Iīm working a new physics simulation panel to facilitate some aspects of the development, and also have already a system that I call "bricker" , that is something like a in-game WED, to place objects in the game at run time, save the obects position to a file, and retrieve them when loading a level. This system is already working, altought is yet very unintuitive, but make positioning of objects far more easy, as I can see them is theyr place and correct positioning in real time. Maybe I can release this as a stand alone product, as a user contribution, if someone shows interest.

This system is able to place objects right beside another one, to build, for example, fences around the track, or objects alone, like a building or anything else.

Re: Formula Cars - Reworked [Re: Carloos] #110807
02/06/07 21:50
02/06/07 21:50
Joined: May 2006
Posts: 398
Bot190 Offline
Senior Member
Bot190  Offline
Senior Member

Joined: May 2006
Posts: 398
i show interest in that ingame object placer! also your game looks good so far.. the cars look good and the physics sounds like it works well.


Wait, there isn't a "Make My Game Now" button?
Re: Formula Cars - Reworked [Re: Bot190] #110808
02/06/07 23:39
02/06/07 23:39
Joined: Mar 2005
Posts: 514
Brazil
Carloos Offline OP
User
Carloos  Offline OP
User

Joined: Mar 2005
Posts: 514
Brazil
Thanx bot190 !

Ok.

As soon as I release a demo of my project, I will also release the object placer as a user contribution.

The source code of the physics will be encrypted, but the object placer will be open and free for use, even commercial.

Last edited by Carloos; 02/06/07 23:42.
Page 2 of 8 1 2 3 4 5 6 7 8

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1