Quote: "Ok i did that but the ball just falls straight through the shape. Even when i set the shape. Any ideas?"
I do not understand it is working for me. Ball hits and rolls.
What is happening is that you are adding the ball object to the floor object with the
FixObjectToObject() command and then creating a collision shape for the object floor.
It is creating a box shape that includes both objects in the calculation. The result is a larger
box shape. If you just call Create3DPhysicsStaticBody() it is creating a polygon collision shape
around both objects. I would suggest not using FixObjectToObject() command.
Quote: "On the debug: I wonder if he could use a shader to do that"
That is up to Paul to fix.
The coffee is lovely dark and deep,and I have code to write before I sleep.