- Home /
Question by
santilapro13 · May 23, 2021 at 01:28 AM ·
cameramovementflashlight
How do I make the flashlight wobble as I walk?
quiero que al caminar con mi character controller la linterna se tambalee
Comment
Answer by kevinhart1001001 · May 23, 2021 at 01:27 PM
Hello, I think, you can attach the Flashlight as a Child to your Player, and if the Player moves, just add a bit of shake (rotation and position) to it. I think for a smooth wobbling effect you can use Math.lerp
Your answer
![](https://koobas.hobune.stream/wayback/20220613034053im_/https://answers.unity.com/themes/thub/images/avi.jpg)