Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMedo3337

Posted 21 December 2012 - 06:04 PM

I also want to mention that when I create a box in 3Ds Max with (Length, Width, Height) of 800 and export it to .x file then load it into DirectX 9 program, then I create btBoxShape by using 400 which is half 800 as the following:

btVector3 boxHalfExtents(400, 400, 400);
btBoxShape* boxShape = new btBoxShape(boxHalfExtents);

The physical box appears much larger than the rendered one, I am trying to get the physical box to be exactly the same size as the box that I create in 3Ds Max so I can have a box behaving like in physical world.

#2Medo3337

Posted 21 December 2012 - 06:02 PM

I also want to mention that when I create a box in 3Ds Max with (Length, Width, Height) of 800 and export it to .x file then load it into DirectX 9 program, then I create btBoxShape by using 400 which is half 800 as the following:

btVector3 boxHalfExtents(400, 400, 400);
btBoxShape* boxShape = new btBoxShape(boxHalfExtents);

The physical box appears much larger than the rendered one, I am trying to get the physical box to be exactly the same size as the box that I create in 3Ds Max so I can have a box behaving like a physical box.

#1Medo3337

Posted 21 December 2012 - 06:02 PM

I also want to mention that when I create a box in 3Ds Max with (Length, Width, Height) of 800 and export it to .x file then load it into DirectX 9 program, then I create btBoxShape by using 400 which is half 800 as the following:<pre class="_prettyXprint _lang-CODE _linenums:NaN">
btVector3 boxHalfExtents(400, 400, 400);
btBoxShape* boxShape = new btBoxShape(boxHalfExtents);
</pre><br />The physical box appears much larger than the rendered one, I am trying to get the physical box to be exactly the same size as the box that I create in 3Ds Max so I can have a box behaving like a physical box.

PARTNERS