Hey all,
So I tried to implement physics raycasts in my project, but to no avail. I’ve verified that the ray is pointing in the correct direction, but it just won’t hit anything. I’ve also played with the mask settings, but those don’t seem to help either.
I’ve noticed that the Ninja demo has working raycasts so that the camera does not collide with geometry, but the only difference I can see between that and my demo would be collision mesh. The ninja demo features a TriangleMesh as the CollisionShape for the playing ground, while my simple building uses a box CollisionShape.
Is there a specific way the physics raycast is intended to be used?