0 registered members (),
18,654
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
[Newton] car problems
#48856
07/07/05 17:12
07/07/05 17:12
|
Joined: Feb 2005
Posts: 254 Colorado, USA
Spaz
OP
Member
|
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
OP
Member
|
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: FoxZero]
#48861
07/16/05 09:26
07/16/05 09:26
|
Joined: May 2005
Posts: 819 U.S.
Why_Do_I_Die
Warned
|
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: Spaz]
#48863
07/16/05 22:10
07/16/05 22:10
|
Joined: Sep 2002
Posts: 344 São Paulo SP Brazil
Marcio Esper
Senior Member
|
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: sunby]
#48865
09/04/05 20:28
09/04/05 20:28
|
Joined: Sep 2004
Posts: 1,214 Austin, Texas
Josh_Arldt
Senior Developer
|
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. 
|
|
|
|