hi guys i have been looking around for so examples for a code and could not find any so have came here to ask, i am making a game where it is pitch dark and is a FPS that would require the player to have a torch that would be toggled via key, but the problem i am having is i need the torch to follow where the player looked e.g if a player looks up to a wall the light will follow up the wall but the light is not a tool.
Could someone help me with this and provide some snippets of code so i can learn from them for future uses. Thank you for you time.
