I know this is a very noob question, but I had a look all over the forum and didn¡t find the answer.
I have a build a closed "room" out of static boxes (collisioObject with mass=0) and spawned a ball inside it. When I apply forces to the ball they behave as expected, it collides with my room's walls fine.
So far so good, now I'm trying to add another static object (mass=0), a box that I want to move with the gamepad directly, and causes the ball to collide with it.
Can I apply new positions to that box directly? I'm trying to set the world matrix on the motion state, but that didn't worked.
What is the right way to reposition an static object?
Thanks in advance!