Jump to content

Vechicle model problem


VeTaL
 Share

Recommended Posts

When i try

TModel fuselage = LoadModel("abstract::oildrum.gmf"); 
PositionEntity(fuselage,Vec3(-225,26,-279));//координаты машинки
RotateEntity(fuselage,Vec3(0.0,-27.0,0));
EntityType(fuselage, 2);
SetBodyMass(fuselage, 10);	
TVehicle car = CreateVehicle(fuselage);

 

oildrum creates and falls down with physics. But when i try to load

LoadModel("abstract::mclarenf1.gmf");

or even

LoadModel("abstract::vehicle_monstertruck.gmf");

 

the car don't effected by physics: entity just stand on its place and even fall down on the ground.

Working on LeaFAQ :)

Link to comment
Share on other sites

thats because the oildrum has a dynamic physics body created by phygen or obj2phy... the monstertruck is using an older PHY file that will not work with 2.4, and since the OBJ file is not available, you cannot create the new PHY.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...