Update and learning unity's physics system





Being fairly new to creating 3D games, the biggest issue so far has been the physics in the game. The main difficulty faced in the development of this game was initially optimization as I was running the game on at most 30 fps. I learnt about using LOD in unity, and some couple optimization techniques like dealing with enemy AI at longer distances. While the game isn’t massive right now, I do wish to work on the game more and to create larger levels, and a mode where players can freely move as in an open world.
The biggest thing I have come to realize would have to be Unity’s physics system, and character controller. Having trouble finding much resource online, I had to try a bunch of things and seeing how the game bugs out at low frames felt defeating as I couldn’t figure out a solution. I ended up fixing these issues by utilizing my own physics for gravity, force and velocity for movement and to create a better aim assist system.
I think currently the aim system is in a good spot that aligns with the gameplay that I initially wished for where we can shoot, aim, and control bullets as we like, but also having the game help a little bit to give it that extra nudge to hit targets closer to the center.
Another useful tool I have learnt during the development so far is leantween. I’ve known animating UI with the animation timeline isn’t great or ideal for performance so I wanted to animate through code. The only difficulty is.. I had never animated through code before so it would be a first. I figured out a basic way to animate using lerping, splines, and graphs but finding leantween drastically improved the quality of animations I initially had.
Overall, I have been learning a lot of new tools, techniques, and methods for creating the game and hope this will turn out to be a full fledged and finished game.
Files
Get Windrift
Windrift
Fantasy open world shooter
| Status | In development |
| Author | Aayush |
| Genre | Action, Shooter |
| Tags | Controller, Fantasy, Low-poly, Open World, Third-Person Shooter |

Leave a comment
Log in with itch.io to leave a comment.