This snippets provides an example of :
-creating a character
-walk around on uneven terrain,
-The camera follows the character
-The camera displays the objects name when the cursor is “above” an 3D object
the name is displayed
-The player can select the object by clicking with the mouse
This is a modification of the roaming ralph demo to provide improved controls and camera angles, imitating those of modern commercial games as “skyrim” game play.
The code has been reorganized in order to well identified all the parameters and the functions.
https://discourse.panda3d.org/download/file.php?mode=view&id=426
roaming-ralph.zip (2.38 MB)