# Change collision body position in Bullet Physics Hello World project

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?

EDIT

The main thing which I want to achive is to move my object for example left not only top or bottom.

Hope It will help in understanding.

• I assume you mean to make the object controllable by the player? – ChrisC Jan 6 '12 at 21:30
• For now it has lower priority, but in fact I would like to. Some of objects yes. Maybe by adding some force - I am making bowling game and I have got my own physics which is quite poor. And this sphere is a prototype for new ball. But as I said now even if I would be able to change position to defined in code would be nice. But I can't – sebap123 Jan 6 '12 at 21:36
• Okay, so you want to apply a linear force. – ChrisC Jan 6 '12 at 21:42
• I think yes. Can you write something about it - maybe edit your previous answer? And what to do with this axis and ball position? – sebap123 Jan 6 '12 at 21:45