Quote: "but when i click space then model is smaller , very very small."
Remember that dbScaleObject() takes a
percentage from the normal object size, so if I load an object, its scale is 100, 100, 100. If I scale this object to 200, 200, 200, it is now 200% of the size it was when loaded, if I scale it to 200, 200, 200 again then it still remains the same. Now, dbObjectSizeX/Y/Z( ID, 0 ) returns the
original size of the object. NOT the scale, so if my object is 1337.0f units along the x axis, its dbObjectSizeX() will be exactly 1337.0f, but the scale will be 100.0f still, if I scale it using dbScaleObject( ID, 100.0f, 100.0f, 100.0f ) then it will still be 1337.0f units in size. If I scale this object to 200.0f on all 3 axis, then its size will now be 2674.0f on the X axis, however! dbObjectSizeX( ID, 0 ) will still return the
original size, which is still 1337.0f, if you want to get the new size, then you can call dbObjectSizeX( ID, 1 ), this will return 2674.0f. If you want to find the scale of the object(200.0f), then you can just do, dbObjectSizeX( ID, 1 ) / dbObjectSizeX( ID, 0 ), this will return 2.0f, which you can multiply by 100.0f and it gives you 200.0f. I hope this explains things, and Poland rocks.