Thank you for doing this in a simple way. most of the other tutorials I looked at for this had to do with shooting, and spent time setting up the gun and the enemies and health and all. This was down to just the basics and I really appreciated it!
Great video, this is something I was needing learn. I thought it was going to be super complex, I feel better about it now. Can you explain the difference or point me to where to find out the difference of Universal render pipeline and just picking 2D mode? I am working on a 2D game that is focused at Mobile market, should I be using the Universal render pipeline?
@@DapperDinoCodingTutorials Is it possible to instantiate a sphere to the left side of a cube using raycast while facing the front side and clicking the left side?
@@kenpachi465 I don't see why you wouldn't be able to. I'm no expert so I would suggest doing some more research on this, but it seems possible with just the point property of a RaycastHit docs.unity3d.com/ScriptReference/RaycastHit-point.html. It gives you the point in space where the ray hit the collider. Again I'm no expert, but that seems like it would work to get a position to instantiate something.
Hi man, may i ask a video about coroutin?? Im really struggling understand how it works by just look code on google, im try search a video also in youtube... But i dont get it too..... Anyway in my case i wanted to rotate a camera anytime player hit triger, so the triger will give the direction, and pass it too game controller and from game controller i think we can start a coroutine from camera and do rotate with direction that came from triger.... Finally manage to understand how to rotate camera, after searching long time so we need quaternion. Euler first, then itry find an example of coroutine in google and try run it from the start so when bool become true the code run, but the problem is somehow i can control the speed of rotation.... Anyway about rotation i use transform.rotation = Quaternion. Lerp(transform. Rotation, targetdirection, smooth(float value) and no matter what value i put in smooth i feel no controll of speed it lerping