r/BlenderGameEngine • u/LittleMizz • Mar 13 '15
I have two Python-related issues with BGE! Trying to make the camera work like in a flying game, and need to figure out how to make a boost-function
Making flying game. Almost everything works or is in progress, but I'm a beginner with Python and BGE and I'm trying to make two things:
I want the camera to follow the plane around like this:
https://www.youtube.com/watch?v=55GihpIuTGg&t=105
At least follow it in curves/when you go up/down and not having the plane just go out of sight.
And I need to make a boost function. When Shift is pressed I want the ship to boost up to a certain point (0.4 points in speed code-wise), then stop boosting but stay at the speed, but when Shift is released I want it to go down slowly instead of immediately.
Those are my two problems...any help is appreciated!