is there a way to turn on visibility for every collision volume in play mode? With checking “Show → Collision” they are visible in the editor, but are not displayed after I click on the play button.
I attached a collision box to my character’s sword and I would like to check if its movement follows the weapon during animations or not.
If i type “show collision” to the console I can see the player’s collision capsule but not the collision box I attached to the sword. I placed an instance from the same class to the map. In the editor i can see its weapon’s collision box, but in the game with “show collision” it is invisible as well
Still does not work but I found a workaround to check if the box works in animations: in the character blueprint/viewport window it is visible, and the character plays the idle animation, I just replaced my idle with the attack animation, so i could see how it behaves - and yes, it works as I hoped it would
If I use the command the collision box is still invisible.
My solution: if i uncheck the “hide in game” checkbox (Rendering), it is displayed in the game. I just have to uncheck it when I am done with the debugging
you can press F8 to enable some of engine’s functionality back while running the game in editor. Among other things, this allows you to see collision under show/collision category in the top-left corner of the viewport or by pressing Alt+C