Problem with Source Control and Projectile Collision.


Problem with Source Control and Projectile Collision.

Author: Chayathorn Kanjanapetcharat

The Problem

While I was getting into the production of the game project, I encountered a permission problem with the source control from the administration side. Without having access to the project's source control, I will not be able to contribute to the project and complete the task that was assigned to me. The product will completely miss out on a planned-out feature, which will lower the quality of the project for the end user.

The second issue that I encountered in the project is the projectile collision. The projectile prototype was implemented into the product, but it does not play an event upon colliding with the player model. Without this feature, the game will malfunction as a projectile is required to create an event such as reducing player health upon colliding with the player. The end user will find that the projectile does not interact with the player which results in a broken product.

The Solution

To resolve the issue with the source control, the first thing I did was to make sure that the server address and my username were correct and there was no spelling error. I checked that there was no extra space bar when I inserted these credentials to conclude that the issue was not caused by a spelling error. The next thing I did was to examine the error message, this is to determine if the issue was caused by the server side or the client side. The error message I received is that I do not have permission to access the source control, and it states that the source control is being protected by the server command.

After the examination, I contacted my teammate to double-check the error message and ask if they could access the server. I received the reply that my teammate can access the server with no issue so this problem must be resolved by the administrator of the source control. I contacted the administrator for support. I explained the issue and error that I received and attached screenshots of the error message. After I received feedback from the administrator team that the issue could be caused by spelling or permission errors from the server side. They resolved the issue with my source control permission, and I was able to access the server and contribute to the project. 

For the projectile colliding issue, I examined the collision section of the blueprint to check if the collision system was activated. I checked the condition and found that all conditions are correct, and the collision is working. I then checked another component in the projectile blueprint which is the static mesh. When examining this component, I saw that this mesh also has a collision property. From this, I believed that the collision system on the projectile was always colliding with the mesh itself. As this event is always activated, it did not check for further collision with the player model. I solved the issue by setting the static mesh of the projectile to have no collision and the projectile is now played the event upon colliding with the player model.

Get Dustborn: Code of Survival