Gamestudio Links
Zorro Links
Newest Posts
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
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TedMar, AndrewAMD), 1,344 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Car physics loose tyre #76060
05/30/06 18:54
05/30/06 18:54
Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Marcio Esper Offline OP
Senior Member
Marcio Esper  Offline OP
Senior Member

Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
I am with a problem in my game.

when the car crash with a physics entity and it rit their tyre, the tyre go out the car, like an invisible elastic join the tyre in the car, some times the tyre return to the car, others it get a spin and all be crazzy and the car apears in any part of the map.

I am attaching some images to ilustrate the spin tyre.

Normal drive



Now the car left rear tyre rit in the box, the car go and the tyre not and it go to spin inside the box.



Any one have one Idea that what happens or know one solution for this ?

Thank you for attention.

Best regards,

Marcio

Re: Car physics loose tyre [Re: Marcio Esper] #76061
05/30/06 19:38
05/30/06 19:38
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
did you set PH_POLY on for the boxes / tyres??

if so, set PH_BOX for the boxes...
(not sure about the tyres, could need PH_SPHERE)

hope that helps.

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Car physics loose tyre [Re: Helghast] #76062
05/31/06 09:01
05/31/06 09:01
Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Marcio Esper Offline OP
Senior Member
Marcio Esper  Offline OP
Senior Member

Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Hi,

Thank you for answer.

I use

Code:

action plasticbox
{
my.shadow = on;
phent_settype (my, ph_rigid, ph_box);
phent_setmass (my, 2, ph_box); // they've got 2kg
phent_setfriction (my, 10); // set the friction coefficient
phent_setdamping (my, 60, 80); // set the damping factor
phent_setelasticity (my, 50, 50); // set the bounciness
}




Maybe the problem is in the elasticity. I not sure if I understood well the damping and elasticity relation with the enviroment.

Best regards,

Marcio

Re: Car physics loose tyre [Re: Marcio Esper] #76063
06/03/06 21:28
06/03/06 21:28
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
ok, and what about the tyres, how did you set those up ??


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Car physics loose tyre [Re: Helghast] #76064
06/04/06 16:50
06/04/06 16:50
Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Marcio Esper Offline OP
Senior Member
Marcio Esper  Offline OP
Senior Member

Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Hi,

Thank you for answer.

I use the PlCar01.wdl template.

Not change in it.

Best regards,

Marcio


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