✅ Support Game Engine Series / gameengineseries
In the last video we added a brand new input module to our game engine, and today we're going to use it to move the camera around the scene. First we're going to make it possible for entity scripts to receive events from the input system, and then we're going to write a bit of script code that will move the camera around depending on the user input.
🟥(Red Episode)
✅ Donations:
https://www.paypal.com/paypalme/arash...
✅ Discord
/ discord
✅ Twitter
/ primalnippleman
🐱 Mr. Frummel & Louis' unreal adventures
/ mr.frummel
💜 Big thanks to Tribal Elders:
Omar Rayyan
💚 Big thanks to Chief patrons:
Simon, Eero Laine
🧡 Big thanks to Shaman patrons:
Zachary Shrout, mg, Shaun Mitchell, Neil Wang, Michael McMahon, Jan Ohlmann, deathcat00, Talis Lincoln
00:00 - intro
00:49 - input system class
01:57 - camera script
02:23 - on-event and add-handler functions
05:29 - using spherical coordinates for camera rotation
10:34 - smooth rotation
14:48 - use WASD keys to move the camera
keywords: graphics, renderer, game input, spherical coordinates
by Arash Khatami
-------------------------------------------------------------
#PrimalEngine #GameEngineSeries #GameEngineProgramming #TheGameEngineProgrammingSeries