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
1 registered members (monarch), 1,259 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: physik bug [Re: Kaylie] #38175
12/31/04 01:26
12/31/04 01:26
Joined: Sep 2004
Posts: 33
Germany
miles Offline OP
Newbie
miles  Offline OP
Newbie

Joined: Sep 2004
Posts: 33
Germany
Es ist ja schon mal gut zu wissen, dass es nicht an meinem Rechner
liegt. Also muss der Fehler irgendwo im Code sein, oder da ist ein Bug in
der Physik-Engine.

Danke für das Ausprobieren.

Vielleicht weiß noch jemand anderes die Lösung für das Problem.

Re: physik bug [Re: miles] #38176
01/02/05 03:05
01/02/05 03:05
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
setze mal das:
Code:
ph_setgravity(vector(0,0,-500));
phent_settype(my,PH_RIGID,PH_box);
phent_setmass(my,2,PH_Box);
phent_setdamping(my,50,60);
phent_setfriction(my,40);
phent_setelasticity(my,60,80);



auf
Code:
ph_setgravity(vector(0,0,-500));
phent_settype(my,PH_RIGID,PH_box);
phent_setmass(my,2,PH_Box);
phent_setdamping(my,0,0);
phent_setfriction(my,0);
phent_setelasticity(my,0,0);



und schau ob die sache immernoch nicht geht.

Re: Physik-engine Bug oder falscher code?? [Re: Joey] #38177
01/02/05 07:12
01/02/05 07:12
Joined: Sep 2004
Posts: 33
Germany
miles Offline OP
Newbie
miles  Offline OP
Newbie

Joined: Sep 2004
Posts: 33
Germany
Nee, damit klappt es auch nicht ob ich nun so:

ph_setgravity(vector(0,0,-500));
phent_settype(my,PH_RIGID,PH_box);
phent_setmass(my,2,PH_Box);
phent_setdamping(my,50,60);
phent_setfriction(my,40);
phent_setelasticity(my,60,80);

//// oder so:

ph_setgravity(vector(0,0,-500));
phent_settype(my,PH_RIGID,PH_box);
phent_setmass(my,2,PH_Box);
phent_setdamping(my,0,0);
phent_setfriction(my,0);
phent_setelasticity(my,0,0);

//////////////////////
Die fallenden Würfel spinnen immer noch!!!

Ich denke wirklich dass es ein Bug der Physik-engine ist, denn der Code ist eigentlich voll korrekt.
ich hoffe, dass es im nächsten update korrigiert wird!!!!

Last edited by miles; 01/09/05 05:04.
Re: Physik-engine Bug oder falscher code?? [Re: miles] #38178
01/07/05 06:41
01/07/05 06:41
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
..give me a few more days, I will get back to you on this issue.

Friction should be high, damping medium and elasticity low.

Re: Physik-engine Bug oder falscher code?? [Re: Marco_Grubert] #38179
01/07/05 08:49
01/07/05 08:49
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
Quote:

Friction should be high, damping medium and elasticity low.




And I can't help but notice that your mass is WAY low and the only thing you didn't change.

Have you tried a mass of 10 or 100? These are fake mass units anyways (the "2" is not grams nor kilograms, nor nothing) and in my experience, using such a low mass in the PE is a no-no.

Try uping the mass....still the same thing?

Re: Physik-engine Bug oder falscher code?? [Re: fastlane69] #38180
01/07/05 19:26
01/07/05 19:26
Joined: Aug 2003
Posts: 12
Germany
Kaylie Offline
Newbie
Kaylie  Offline
Newbie

Joined: Aug 2003
Posts: 12
Germany
Habs eben mit diesen Werten nochmal versucht:
phent_settype(my,PH_RIGID,PH_box);
phent_setmass(my,100,PH_Box);
phent_setdamping(my,50,50);
phent_setfriction(my,90);
phent_setelasticity(my,20,20);

Immer noch das selbe Problem.

Re: Physik-engine Bug oder falscher code?? [Re: Marco_Grubert] #38181
01/08/05 03:46
01/08/05 03:46
Joined: Sep 2004
Posts: 33
Germany
miles Offline OP
Newbie
miles  Offline OP
Newbie

Joined: Sep 2004
Posts: 33
Germany
Thank you for the answer
I hope you can find the problem!!!

Re: Physik-engine Bug oder falscher code?? [Re: miles] #38182
01/08/05 10:52
01/08/05 10:52
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
It is indeed a bug. Will be fixed in the next update :-(

Re: Physik-engine Bug oder falscher code?? [Re: Marco_Grubert] #38183
01/08/05 13:40
01/08/05 13:40
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline
Expert
William  Offline
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
What is the bug?


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/
Re: Physik-engine Bug oder falscher code?? [Re: William] #38184
01/11/05 09:39
01/11/05 09:39
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
Quote:

What is the bug?


Certain contact points get ignored which leads to objects penetrating each other. This is the result from a speed-up technique I implemented which is faulty. I am currently working on a fix.

Page 2 of 2 1 2

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