What if your player goes through an object when you click the other side of that object? It shouldn’t be like that, right?
Since we added the NavMesh and made the player move in the last article. The player moves but it moves through objects. Now we will fix this by making these objects static.
In the current project, I’m doing which has a stealth element, we move by clicking the ground / Point & Click
Let’s start simple… We can simply create our Point & Click with Unity’s Navigation system also called NavMesh.
If you have your Gizmos on you should see that the ground’s color is blue
To make the player move we add a simple script to it and we use Raycast to define where we click with the mouse, then…
How to build your cutscene in Unity when you have Audio and Visuals ready to merge into a beautiful cutscene?
This time we add our beautiful audio to the Timeline. The audio we use is ready to be just added there in the right place to fit the whole visual scene.
This is how the Timeline looks currently.
Animating your GameObjects for a Cutscene can sound challenging. But in fact, it’s not that difficult to do. In this article, I show you how to do it.
In which situation and how you should use Cinemachines Dolly Track?
How should you create a moving camera with look a at a specific object?
First, you should add Dolly Track and CM Camera to the scene.
You find these from the Cinemachine tab.
When you create Dolly Camera with Track, you create a normal CM Camera and Dolly Track.
And that Camera is automatically connected to that Track so you don’t have to change anything. But if you want to add another camera to it and not new.
Working reflections/shadows create life in our games. And if you are stuck about which one you should use, here is a small article about it.
Here are two pictures of the same scene with Light Probe reflections and Screen Space Reflections.
Without glass, you don’t have windows. And you always have to windows, right?
There you have a beautiful New York city view at night from looking through a window. It’s just a simple material as any.
You can change smoothness depending on how much you want the glass to reflect.