Moving a box

jpaires
Posts: 4
Joined: Sat Nov 28, 2009 9:50 pm

Moving a box

Post by jpaires »

Hi there,
I'm using bullet for a while and I have a question: I have a box lying on the floor. Now I'm trying to make the box move (along the floor), and what I do is to use applyCentralImpulse on the box.

What is happening is that the box takes a while to start moving and when it does, it rolls forward.
It actually makes sense, if we apply a force in bodies (with friction), this is likely to happen.

My question is, how can I make the box moving?

I appreciate any help, and if I have been unclear in some aspect let me know :)
sosssego
Posts: 6
Joined: Sun Nov 29, 2009 2:38 am

Re: Moving a box

Post by sosssego »

Hi!

I am new in bullet, so i cant help with the functions or codes, but if you have friction, just make its lower.
Sufficient lower so its lower than the needed force to roll the box.

Can i see your code?
I am trying to start use bullet but i have lots of doubts.

cya
jpaires
Posts: 4
Joined: Sat Nov 28, 2009 9:50 pm

Re: Moving a box

Post by jpaires »

sosssego wrote:Hi!

I am new in bullet, so i cant help with the functions or codes, but if you have friction, just make its lower.
Sufficient lower so its lower than the needed force to roll the box.

Can i see your code?
I am trying to start use bullet but i have lots of doubts.

cya
The problem is that I really need friction :(