I have got stupid and annoying problem in my app. I am using bullet physics and I've started with hello world example on wiki: http://bulletphysics.org/mediawiki-1.5.8/index.php/Hello_World
There is someting like this:
btDefaultMotionState* fallMotionState =
new btDefaultMotionState(btTransform(btQuaternion(0,0,0,1),btVector3(0,50,0)));
What is described as set object 50m above something. So I can change the height but nothing more. I can't move it left, right - anything. Also when I set 0 everywhere ( I mean in btVector3) the object is jumping up rather than falling down or better stay still.
Can someone help me with that?
Also are there any materials except those on bullets page where are some tutorials or something?
I have found out that it is possible to change the position. I didn't saw it.
And the reason why it is jumping at 0 it is because it is 'inside' other object and then whole engine starts to act crazy. So don't put one object into another.