x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Collision box visibility in play mode

Hello,

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.

Thanks,

Elathan

Product Version: Not Selected
Tags:
more ▼

asked Mar 15 '15 at 01:29 PM in Using UE4

avatar image

Elathan
426 25 29 59

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

4 answers: sort voted first

Hey Elathan , in playmode open your console ( ~ ) then type show collision after that you should see the collision in play mode :D

more ▼

answered Mar 15 '15 at 01:38 PM

avatar image

Waelwindows
46 6 9 8

avatar image Elathan Mar 15 '15 at 02:23 PM

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 :(

avatar image Elathan Mar 15 '15 at 06:06 PM

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 :)

avatar image Elathan Mar 17 '15 at 11:53 PM

I would not say it is resolved. The collision box is still invisible, and it would be nice if somehow there would be a way to display it.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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 :)

more ▼

answered Mar 24 '15 at 09:21 AM

avatar image

Elathan
426 25 29 59

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

console command "pixvis collision"

more ▼

answered Sep 02 '17 at 06:38 AM

avatar image

王智禺
41 4 5

avatar image Creo Nov 13 '17 at 03:30 PM

"pxvis collision" !!!

avatar image Podgyhodgy May 06 '19 at 09:06 PM

Thankyou Creo. How did you find pxvis collision - I don't get it appearing with the predictive text of the console. Is there a master list somewhere?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

more ▼

answered Jun 09 '18 at 05:37 PM

avatar image

jedi5218
6 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question