PAPER2UPaperGroupedSpriteComponent::InitInstanceBody

Creates a body instance for the specified instance data if that sprite has defined collision

Choose your operating system:

Windows

macOS

Linux

References

Module

Paper2D

Header

/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperGroupedSpriteComponent.h

Include

#include "PaperGroupedSpriteComponent.h"

Syntax

FBodyInstance * InitInstanceBody
(
    int32 InstanceIndex,
    const FSpriteInstanceData & InstanceData,
    FPhysScene * PhysScene
)

Remarks

Creates a body instance for the specified instance data if that sprite has defined collision