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
0 registered members (), 17,416 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Errors in loading new level. Solution? #359202
02/16/11 05:56
02/16/11 05:56
Joined: Aug 2008
Posts: 81
J
jpxtreme Offline OP
Junior Member
jpxtreme  Offline OP
Junior Member
J

Joined: Aug 2008
Posts: 81
I'm getting the following errors...

"Entity not a physics object in CarInit"
"Empty pointer in RRInit"

I don't know how to fix it. So I really need your help guys. Whenever I load a new level it will pop up an error above. However, if I click ok the game works just fine.

But I want to solve this error once and for all.

btw, im using the car demo example. The error has something to do in this part of code.

Quote:

action RRInit()
{
set(my,PASSABLE);
while (!pChassis) { wait(1);}
pRR=my;
InitWheel();
// make wheel constraint pointing up
wheelRR= phcon_add(PH_WHEEL, pChassis, my);
phcon_setparams1(wheelRR, my.x, vecUp, vecRight);
phcon_setparams2(wheelRR, vector(0,0,0), nullvector, vector(suspensionERP, suspensionCFM,0));
reset(my,PASSABLE);

//vec_set(my,vector(-426,-5788,69));

}

action CarInit()
{
player = me;
c_setminmax(my);
my.flags |= ZNEAR;

// build a car and wait til all wheels are ready
ChassisInit();
my.material = mat_metal;

while (wheelCounter<4) { wait(1); }
signallights();
UpdateSpeed(); // update rear wheel speed (continuous)
SpeedControl();// change speed (continuous)
SteerControl();// change heading (continuous)
}


I'm also getting pointer errors.

Because of this my car won't move.

Please help me.

Last edited by jpxtreme; 02/16/11 15:10.
Re: Errors in loading new level. Solution? [Re: jpxtreme] #359280
02/16/11 16:36
02/16/11 16:36
Joined: Aug 2008
Posts: 81
J
jpxtreme Offline OP
Junior Member
jpxtreme  Offline OP
Junior Member
J

Joined: Aug 2008
Posts: 81
anyone pls help me.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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