Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
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
3 registered members (TedMar, AndrewAMD, fairtrader), 578 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 3 1 2 3
Re: vehicle physics #15508
05/06/03 08:00
05/06/03 08:00
Joined: Sep 2001
Posts: 237
Maine, USA
J
Jason Bryant Offline
Member
Jason Bryant  Offline
Member
J

Joined: Sep 2001
Posts: 237
Maine, USA
@ventilator: great script, much better than the last one even.

The rear wheels seem to be rotating some for my car as well.

Is there a method for changing the center of gravity for a chassis?

Jason

Re: vehicle physics #15509
05/06/03 08:46
05/06/03 08:46

A
Anonymous
Unregistered
Anonymous
Unregistered
A



quote:
Originally posted by Jason Bryant:
Is there a method for changing the center of gravity for a chassis?

If mass is calculated with PH_POLY set, then the mass distribution is based on where triangles are located. One thing you can try is adding additional triangles near the center of the model.

Re: vehicle physics #15510
05/11/03 01:50
05/11/03 01:50

A
Anonymous
Unregistered
Anonymous
Unregistered
A



I'm thinking about buying A6 Pro for the physics for a racing game. But I would like to see the car physics in action first, would some one mind making and uploading a demo of the car physics so I can take a look at it? Thanks for your time.

-Shadow_Wolf

Re: vehicle physics #15511
05/12/03 09:52
05/12/03 09:52
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
ph_setcorrections(20000,0.01);

there seems to be less rear wheel bending with these settings.

Re: vehicle physics #15512
05/15/03 09:14
05/15/03 09:14

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Im working on a basic vehicle demo using a single entity for the vehicle. But Im having some problems. When the vehicle gets directly on a X or Y line it wont turn normally. I have included a demo for anyone can see. Use the arrow keys to move, hold both left and right for power turns (which ever one is pressed first is the turn direction for power turns).

Car Demo

Any suggestions are appreciated.

Re: vehicle physics #15513
05/15/03 12:30
05/15/03 12:30

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Question about the demo, will most vehicles slide around like they do in the demo or was that done to go along with the type of vehicle model that you used?

Re: vehicle physics #15514
05/15/03 12:50
05/15/03 12:50

A
Anonymous
Unregistered
Anonymous
Unregistered
A



I wanted a pretty good slide for the type of vehicle I used. I plan to add a control factor in it so as you increase in skill level the handling gets better.

Re: vehicle physics #15515
05/17/03 08:56
05/17/03 08:56

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Isnt it really hard to program physics for vehicles...could anyone help me with it?

Master_Yodax38@msn.com

Re: vehicle physics #15516
05/18/03 06:15
05/18/03 06:15
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
code:
var weight_ID;
action weight
{
my.passable=on;
my.invisible=on;
my.tilt=90;

phent_settype(my,PH_RIGID,PH_BOX);
phent_setgroup(my,2);
phent_setmass(my,100,PH_BOX);
phent_setfriction(my,40);
phent_setelasticity(my,50,10);
phent_setdamping(my,20,20);

weight_ID=phcon_add(PH_HINGE,my,you);
phcon_setparams1(weight_ID,my.x,vector(1,0,0),nullvector);
phcon_setparams2(weight_ID,nullvector,nullvector,nullvector);
}

i added a passable weight below the car to make the center of gravity lower. it prevents that the car flips so easily. to connect it to the chassis i used a hinge with the limits set to 0.

Re: vehicle physics #15517
05/21/03 09:03
05/21/03 09:03
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
 -

i decided to convert my car into a six-legged walking machine! [Smile] it really walks! ...but in a very strange way...

Page 2 of 3 1 2 3

Moderated by  HeelX, Spirit 

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