VisualLogger Capsule Drawing Behavior changed between 5.5 and 5.6

In UE 5.5 when you call UE_VLOG_CAPSULE or use the VislogCapsuleShape Blueprint node the “Base” parameter would actually be used as the center of the drawn capsule. As of 5.6 the “Base” parameter is now interpreted as the center of the “bottom sphere” of the capsule.

Previously one could take the world transform of a capsule component, or the transform used for a capsule trace and pass it to Visual Logger to visualize that capsule, now the user is required to first apply an offset from the origin of the capsule to the center of the bottom sphere and then pass that location into the functions. You could also previously Use UE_VLOG_CAPSULE and DrawDebugCapsule with the same parameters and get the same results, which was handy when you wanted to both visualize at runtime and in the visual logger. This is no longer the case either as you now have to mess with the location used with the Visual Logger functions.

I set up a simple example in 5.5 and 5.6:

[Image Removed]

Notice the difference in the visual logger capsule location below:

[Image Removed]

Steps to Reproduce
Use UE_VLOG_CAPSULE or the VislogCapsuleShape blueprint node in 5.5 and 5.6 and notice how the location of the drawn capsule is different between the versions.

Hi Jaren,

That actually comes from a fix that was made in UE5.6 and is now the proper behavior, although it can be confusing compared with the Draw Debug Capsule BP function : you’ll notice that Draw Debug Capsule takes a parameter called Center because it expects the position to be the one of the center of the capsule. However, VisLog Capsule Shape takes a parameter that is called Base since it expects the position to be the one at the base of the capsule. That mimics the Visual Logger inner API and is probably the reason why the 2 parameters are called differently in those 2 functions.

Cheers,

Jonathan