Hi everyone,
in this video I would like to show you a test environment to debug a ‘Camera Collision’ for a third person game in jMonkeyEngine. Many people probably already know how this works. An interesting challenge was building the test environment to visualize the automatic camera repositioning in the same shared window.
I was inspired by the Unity API. Unity - Scripting API: Gizmos
The cyan arrow represents the preferred maximum distance of the camera.
When the player aims (for example with a weapon) the camera approaches the character’s shoulder and the field of view decreases. (you can see it after about 20 seconds of video)
I apologize for the not very nice level design, unfortunately I’m not a good artist.
Regards