Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,209 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Physics Engine has changed from A6.314 ! #207743
05/22/08 01:46
05/22/08 01:46
Joined: Oct 2003
Posts: 130
Wollongong Australia
J
Jethro Offline OP
Member
Jethro  Offline OP
Member
J

Joined: Oct 2003
Posts: 130
Wollongong Australia
Currently using A7.07 pro.
We just spent a week converting our project from A6.314 to A6.4 then to A6.60 then to A7.07.
We have 3 flight sim levels 2 are over terrain.
The problem is we are using:- phent_settype(my, ph_rigid, ph_poly); to set up our jet (mig29 from 100 models and spaceships pack)
In A6.314 collisions with the terrain worked perfectly, with above setup. Any Version above 6.314, as soon as you collide with the terrain, it spits the model out on the underside of the terrain and then the collisions work perfectly from the bottom of the terrain and it is actually a roof! as if the normals are flipped on the terrain!!
OK The workaround of using ph_box solves the problem, but a pointy nosed jet doesn't behave well with a box shaped front end.
- In a nutshell ph_poly seems to be broken.
It behaves completely in reverse and sucks you throught the terrain to the underside of the terrain, and is happy to work on that side correctly.
There has to be a problem here its like the normals are flipped. I've also noticed more suvire collisions in an entirely geometry level as well.
Also our tank (hidden 4 wheel drive) doesn't work as smooth as it used to.
I've tried many things resaving jet and terrain with A7 Trying jet in other levels. Turning off chunked terrain.Flipping the normals on the terrain in MED version 6.24 (A6.314 version)
c_setminmax, makes the box a bit smaller, but still not a jet!
One thing I haven't tried is building a level from scratch with A7.07. As these levels had there original creation in A6.314.

Any help with this would be greatly appreciated.
Jethro.

Re: Physics Engine has changed from A6.314 ! [Re: Jethro] #207750
05/22/08 02:58
05/22/08 02:58
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
with the ODE physics engine gamestudio uses, only the ph_box and ph_sphere hulls work somewhat reliably. ph_poly always had problems. i think trying to fix ph_poly (which will be very hard) doesn't make sense if gamestudio will switch to a new physics engine anyway.

Re: Physics Engine has changed from A6.314 ! [Re: Jethro] #207761
05/22/08 06:50
05/22/08 06:50
Joined: Oct 2003
Posts: 130
Wollongong Australia
J
Jethro Offline OP
Member
Jethro  Offline OP
Member
J

Joined: Oct 2003
Posts: 130
Wollongong Australia
ph_poly worked perfectly for our A6.314 project, now it doesn't, its been broken somehow.

The key might be, that we had the jet model scaled to .12 its original size, so its entire model size was about one terrain poly in size. The thing is it works perfectly in A7, but from the underside of the terrain, not the top, ie, the terrain performs like a roof. I remember when this was a flag at one stage, in med I think, you couldn't set it but you could see it in model properties.

Re: Physics Engine has changed from A6.314 ! [Re: Jethro] #207784
05/22/08 09:05
05/22/08 09:05
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
For moving colliders, use PH_BOX or PH_SPHERE. ODE does not yet support PH_POLY and PH_CYLINDER on moving objects.

A7 is 100% compatible to A6.40 and A6.60, but not to A6.31. 6.31 to 6.40 was a major step. The physics engine had not changed, but many other things have. You'll find a list of all changes in your manual under "updating".

Re: Physics Engine has changed from A6.314 ! [Re: Jethro] #207801
05/22/08 10:29
05/22/08 10:29
Joined: Oct 2003
Posts: 130
Wollongong Australia
J
Jethro Offline OP
Member
Jethro  Offline OP
Member
J

Joined: Oct 2003
Posts: 130
Wollongong Australia
Well it did work on A6.314. For our project, yes I know about the sytax changes thanks, just spent a week implementing them.

A7.07 has certainly come a long way since A3.9, the first engine I started developing with, well done guys at conitec.

Jethro.


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