Mesh shape offset

User avatar
x6itru
Posts: 2
Joined: Wed Mar 20, 2013 4:06 pm

Mesh shape offset

Post by x6itru »

Hello there! :) I'm just tryin to integrate bullet with my terrain, and i have small problem :P look at screen :
Image green terrain is from bullet ( debug draw ), his center is on 0;0
,black terrain is mine ;p he had right bottom corner on 0;0
And now i have question, how to match it? :S For bullet terrain im using btRigidBody, btHeightfieldTerrainShape and btMotionState ( im getting matrix from getOpenGLMatrix(..) ) Any simple way to set offset or something like that in bullet?
Regards! x6itru.
User avatar
x6itru
Posts: 2
Joined: Wed Mar 20, 2013 4:06 pm

Re: Mesh shape offset

Post by x6itru »

solved, topic to close !! :))