Sword Collider

 

While working on the combat for the Project "Don't Spill Your Beans" a problem occurred with the player weapon's collision. The Collision of the sword that was part of the player blueprint was ignoring collision. With Combat being a major mechanic of the project this would invalidate a priority feature that is used to progress through the game.

Researching into this problem showed that the problem was a common occurrence with the ChildActorComponent. My first attempt lead me to try toggling through the collision profiles. Though even when set to "BlockAll" the collision was not being detected. 

Upon further investigation creating a SphereComponent from the player and attaching it to the component externally allowed for the collision to be detected and the collider to be toggled as needed for the project.



Author: Justin Bethea

Date Posted: 09/21/23

Comments

Popular posts from this blog

Resolving the Flying AI Bug: Boundary Fix in Level One Environment

Paying attention to Details

Revamping the player's attacks