tbryant06
(Tyler Bryant)
May 3, 2024, 2:30pm
1
I’m trying to make a 3rd person game, what is the best way/easiest to make the camera either go to first person when colliding with walls or overhead my character so that the camera doesn’t phase through.
Cotaks
(- Click for (UP)Bge resources)
May 3, 2024, 8:32pm
2
cast a ray and put the camera on the hitposition and add some offset to make sure its a bitoff the wall/object.
check my resource:
Hello,
You get the third person movement system (8 directional) including my keybindings script.
Added:
a converted version for UPbge (28-2-2019)
Controls:
K - open the keybindings menu
WSAD - move
SPACE - jump
mouse - lookaround
scrollwheel - zoom
left shift - run
BGE:
Tera movement system.blend (762 KB)
UPBGE:
8 directional movement system(upbge).blend (785.4 KB)
- For upbge 3.0 download upbge version and change player_camera.py line 27 to 31 into: …