Download

Adjusting sprite to capsule components to sprite pivot

Hi all I new to the unreal engine I’m following the creating 2d side scroller tutorial to learn the basics however the tutorial covers the blueprints where I’m switching from c++ and directX 11, the problem that I have encountered is adjusting the collision capsule to the pivot of sprite, as shown in the tutorial I have moved my sprite pivot to the bottom of the sprite and now the capsule component is moved half way down and my sprite is floating in the air, can anyone explain how do I adjust the capsule pivot so it matches with the sprite pivot please

solved ! this can be done by setting local offset on sprite after adjusting capsule size in object constructor thanks anyway !