Chapter 4: Debug Ray not showing

I spend some time to understand why the debug Ray was not showing in the scene.
It appears it will not show if you do not enable the Gizmo button in the play area (top right).

I hope this help someone else. It should probably be mentioned in the book.

Also, this is mentioned in book, but if you forget to assign World_Center to Floor layer (no object in Floor layer), then behaviour of the marine will be very strange.

I do not see the green Debug ray. I have enabled Gizmo’s and the Game view but that did not fix it for me.

Problem fixed. It helps to save your code before looking for the results.:slight_smile:

1 Like

That always gets me!

Thanks for the heads up … we’ll update the book to reflect that.