Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMedo3337

Posted 20 June 2013 - 06:27 AM

@ankhd: I'm loading the mesh hierarchy in memory, then rendering each frame, the problem is that when I add each wheel, I set its position according to the model space position, I get the results you see in the screenshot (the wheels are not adjusted correctly).

matWorld = wheel[0]->TransformationMatrix; // Wheel transformation matrix
connectionPointCS0 = btVector3(matWorld._41, matWorld._42, matWorld._43);

// etc...

#2Medo3337

Posted 20 June 2013 - 06:27 AM

@ankhd: I'm loading the mesh hierarchy in memory, then rendering each frame, the problem is that when I add each wheel, I set its position according to the model space position, I get the results you see in the screenshot (the wheels are not adjusted correctly).

 

matWorld = wheel[0]->TransformationMatrix; // Wheel transformation matrix

connectionPointCS0 = btVector3(matWorld._41, matWorld._42, matWorld._43);

 

// etc...


#1Medo3337

Posted 20 June 2013 - 06:20 AM

@ankhd: I'm loading the mesh hierarchy in memory, then rendering each frame, the problem is that when I add each wheel, I set its position according to the model space position, I get the results you see in the screenshot (the wheels are not adjusted correctly).


PARTNERS