[SOLVED] One Test is not working with v3.2.1-stable-sdk1

Look, this class running only a black screen, only with crosshair:

I found it because I’m trying all day make my TerrainQuad be collided with something.


A major issue with this test is the initial camera direction, which is looking straight downward. Change

cam.lookAtDirection(new Vector3f(0, -1, 0).normalizeLocal(), Vector3f.UNIT_Y);


cam.lookAtDirection(new Vector3f(-0.75f, 0.25f, 0.61f).normalizeLocal(), Vector3f.UNIT_Y);

and the test starts to make more sense.

PS: The initial camera location is also too low. Hold down the Q key to fly upward.

1 Like

Oh, it works now, thank you.

1 Like