Jump to content

Collision when scaling


errsousa

Recommended Posts

Posted

Hi,

So i downloaded one super mario kart circuit model for 3ds max and tried to put it into a map but got some problems.

1st - I think the model was too big so MTA crashed when i started the race.

2nd - Someone told me that the maximum size of an object had to be 512 512 512 and i resized the entire circuit (im using the entire circuit as one single object) to less than 512 512 512. Ok nice, now i see it but it is too small ( a kart cant even fit there.) So i went on and tried scalling...yea it looks perfect.

Wait...collisions are not working.

So...is there anyway, with a script or anything, to make collisions scale as well?

The 3d model had 109 objects...replacing 109 objects and building the track is not a option (99% sure).

thanks in advance

Posted
This function changes the visible size of an object. It is very important to note that this does not affect the collision models for the object, as such this is unsuitable for use for interaction with players, vehicles or other objects.

The only way to fix it is to scale it in 3D app. For example in 3DS Max, after you scale it, you have to reset XForm otherwise the model will not change (scale and rotation) after exporting.

Posted

Hm, the problem is mta/gta object limit size. The maximum i can use per object will give me a small circuit...

Can i divide an object in half, therefore making it object 1 and 2?

2vjcxns.png

Like that...

Posted

Yes, you could split the object in half to avoid issues with max object size but you have to export it as two separate objects. I did that on a map I made not long ago.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...