Hi!
I would like to see PhysX boxes and constraints during gameplay. Is there something similar to NXVis Collision in UE4?
Hi!
I would like to see PhysX boxes and constraints during gameplay. Is there something similar to NXVis Collision in UE4?
Try PXVIS COLLISION.
This only seems to work when a pawn is possessed, not when ejected.
Pretty sure this is also stripped out of release builds, but works fine for packaged code projects with DebugGame target.
also does not show complex collisions, unless you modify the source code, be warned it is slow if you do make it show complex collisions, but is handy for ensuring that the physx collision matches the collision your expecting, especially handy if your constructing collision meshes yourself.
Another alternative is to use the PhysX Visual Debugger, you can connect UE4 to it with console command pvd connect, it is a lot more robust and allows you to record a session and then scrub through it to inspect collisions after the fact.
If you are like me and you didn’t understand the answer about PXVIS COLLISION - it is a command that can be run after pressing tilde (~) in UE4 editor. There are also many variants of this command - such as: “PXVIS CONTACTS”, “PXVIS JOINTLIMITS”, “PXVIS BODYAXES” and more. They are listed in PhysUtils.cpp.
Thanks DanielKrakowiak it save my day!