Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, AndrewAMD), 14,749 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 3
[Newton] car problems #48856
07/07/05 17:12
07/07/05 17:12
Joined: Feb 2005
Posts: 254
Colorado, USA
Spaz Offline OP
Member
Spaz  Offline OP
Member

Joined: Feb 2005
Posts: 254
Colorado, USA
I'm trying to use Newton for my car physics, but I'm having two big problems.

When I run the level I get a "crash in NewtonVehicleAddTyre" error before the level starts for each of the four tires.

Then when the level starts the tires stay in place and the body of the car falls through the floor. I'm using a model for the track the car drives on and I don't know if that has anything to do with it. Also, I've seen a lot of posts about the .cls file, but I don't know how to create it or where to find it.

Can anyone help?




Using Professional Version 6.31.4
Re: [Newton] car problems [Re: Spaz] #48857
07/07/05 17:47
07/07/05 17:47
Joined: Feb 2005
Posts: 254
Colorado, USA
Spaz Offline OP
Member
Spaz  Offline OP
Member

Joined: Feb 2005
Posts: 254
Colorado, USA
Well, I found some code that gave me the .cls file (I'd tried the code in the Newton manual and it hadn't worked), but I still have the same problems, plus one.

Now I'm getting this error, which I'm guessing is related to the tire problem:
"Empty pointer in NewtonGetParentEntity: vehicleConst=temp_ent.myVehicleConstraint"


Using Professional Version 6.31.4
Re: [Newton] car problems [Re: Spaz] #48858
07/13/05 06:57
07/13/05 06:57
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline
Warned
Why_Do_I_Die  Offline
Warned

Joined: May 2005
Posts: 819
U.S.
yes , thats because ur not setting up the car and tires properly . Once each tite and the car have their actions added , u need to group them together as follows , group all 4 tires togeter into 1 group , then click finish group. then select the tire group and group it with thr car.That should fix ur problem.

Re: [Newton] car problems [Re: Why_Do_I_Die] #48859
07/13/05 06:59
07/13/05 06:59
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline
Warned
Why_Do_I_Die  Offline
Warned

Joined: May 2005
Posts: 819
U.S.
btw , if the model falls through the floor it's cuz ur using a model fot the track , if it was geometry the car would fall to the floor while the tires stayed in place but it wouldnt fall through it.

Re: [Newton] car problems [Re: Why_Do_I_Die] #48860
07/16/05 02:23
07/16/05 02:23
Joined: Jun 2005
Posts: 1,001
Pennsylvania, USA
FoxZero Offline
Serious User
FoxZero  Offline
Serious User

Joined: Jun 2005
Posts: 1,001
Pennsylvania, USA
I'm having the same problems with the "crash in NewtonVehicleAddTyre". I did what you said but I still have problems. All I did was change cars in the car level. Is there some kind of bug? Or did we do somrthing wrong.


Check out my site http://foxzero.net
My band's website
http://wolf-hybrid.net

R.I.P. Dave Williams
Re: [Newton] car problems [Re: FoxZero] #48861
07/16/05 09:26
07/16/05 09:26
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline
Warned
Why_Do_I_Die  Offline
Warned

Joined: May 2005
Posts: 819
U.S.
i've tried a couple of cars and all work fine , though I have had the NewtonVehicleAddTyre crash before too , usually it ends up the car and tires not being groupped up properly , or a tire not having it's action set , or that i didnt recompile the level , so try those things , check that every tire has the tire action , that the car model has it's proper action , that they're groupped correctly , and compile the level , close gamestudio , reopen it , and run the level , should work . For some reason sometimes if you dont restart gamestudio after recompiling after the tyre error u'll keep on getting it untill u restart the proggie.

Re: [Newton] car problems [Re: Why_Do_I_Die] #48862
07/16/05 21:17
07/16/05 21:17
Joined: Jun 2005
Posts: 1,001
Pennsylvania, USA
FoxZero Offline
Serious User
FoxZero  Offline
Serious User

Joined: Jun 2005
Posts: 1,001
Pennsylvania, USA
Sorry, no luck. Would you like to test the car I'm using?


Check out my site http://foxzero.net
My band's website
http://wolf-hybrid.net

R.I.P. Dave Williams
Re: [Newton] car problems [Re: Spaz] #48863
07/16/05 22:10
07/16/05 22:10
Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Marcio Esper Offline
Senior Member
Marcio Esper  Offline
Senior Member

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

I'm trying to use Newton for my car physics, but I'm having two big problems.

When I run the level I get a "crash in NewtonVehicleAddTyre" error before the level starts for each of the four tires.

Then when the level starts the tires stay in place and the body of the car falls through the floor. I'm using a model for the track the car drives on and I don't know if that has anything to do with it. Also, I've seen a lot of posts about the .cls file, but I don't know how to create it or where to find it.

Can anyone help?






Before you use the program you need save it.

Make sure that you put all tyres models in a group inside a car group.

Sorry for the terrible english.

I hope it help you.

best regards,

Marcio

Re: [Newton] car problems [Re: Marcio Esper] #48864
09/04/05 10:51
09/04/05 10:51
Joined: Aug 2005
Posts: 1
S
sunby Offline
Guest
sunby  Offline
Guest
S

Joined: Aug 2005
Posts: 1
im having the same problem when i get through the errors i have wheels but no car body please help

Re: [Newton] car problems [Re: sunby] #48865
09/04/05 20:28
09/04/05 20:28
Joined: Sep 2004
Posts: 1,214
Austin, Texas
Josh_Arldt Offline
Senior Developer
Josh_Arldt  Offline
Senior Developer

Joined: Sep 2004
Posts: 1,214
Austin, Texas
I've posted the solution to the "crash in NewtonVehicleAddTyre" error in another thread.

You cannot use level blocks for the sky!
You have to use a model as a sky.
Not sure if using a map entity would work...
but it's worth a try.


Moderated by  HeelX, Spirit 

Gamestudio download | 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