Hi everyone,
I'm working on a project and I need some help :
I have a room composed by six walls (six box) and the camera is inside the room.
I want to rotate the room.
I have tried to join the walls together (Custom6DOF and others) and then move one wall expecting that the others walls will follow. But it didn't work, the joint was too soft.
Then I tried to create a Null collision corresponding to the room and attach the walls to it with joints and then move the Null collision. But the walls didn't follow.
If I move independently each wall with their own force and torque callback I'm afraid the room will be deformed. And if I use the matrix to "teleport" the room in it's new position, the objects in the room may pass through the walls.
I don't know if I'm using the wrong method or if I have made mistakes during the joints creation.
Could you tell me the proper way to solve my problem ?
PS: The room is in fact a part (a cube) of a Rubik's Cube (3x3), that's why it needs to move. Currently I'm just trying to rotate the room/cube at the center of a face of the Rubik's Cube. My next step will be to make the others rooms/cubes of the face follow the rotation. I think the problem will be the same.