Search the Community
Showing results for tags 'follow'.
Found 2 results
I'm setting my camera based on my model's position/rotation but i'd like the camera to be positioned a little further back so i can actually see the model move, i think what i'm looking for is something like vector forward. Right now, i'm setting it at the exact same x/z coordinates. Vec3 pos = player_entity->model->GetPosition(); camera->SetPosition(Vec3(pos.x, pos.y + 2, pos.z)); What would be required to re-calculate the new x/z coordinates of the camera?
hi josh, please take a look in the. Follow function. there must be something wrong. this function runs as thread in background until stop is used. 5 zombies waste 40 frames if follow is used. this in my 10x10meter test area. today i had time to edit the copy of the monster ai script and disable parts with functions keys to see what happens. (means skipping the world and physics update loop) ps:i using the beta because its better than the normal version and me is magnetic for issues me using the engine since offer at steam.