Space Plunder
Loading...
Searching...
No Matches
FPhysicsPickupData Struct Reference

#include <InteractionData.h>

Public Member Functions

 FPhysicsPickupData ()
 
void Reset ()
 

Public Attributes

bool bCanMoveOtherPhysicsObjects = true
 
float CustomThrowForceMultiplier = 1.0f
 
bool bSnappable = false
 
int32 Size = 1
 
bool bCanSnapSameSize = false
 
FRotator AutoRotation = FRotator::ZeroRotator
 
bool bCanBeRotated = false
 
bool bUseAutoRotation = false
 

Protected Attributes

UPrimitiveComponent * GrabComponent = nullptr
 

Constructor & Destructor Documentation

◆ FPhysicsPickupData()

FPhysicsPickupData::FPhysicsPickupData ( )
inline
97{}

Member Function Documentation

◆ Reset()

void FPhysicsPickupData::Reset ( )
inline
104 {
107 bSnappable = false;
108 AutoRotation = FRotator::ZeroRotator;
109 bUseAutoRotation = false;
110 GrabComponent = nullptr;
111 // SnapComponents.Empty();
112 Size = 1;
113 // bSnapped = false;
114 }
bool bCanMoveOtherPhysicsObjects
Definition InteractionData.h:77
bool bSnappable
Definition InteractionData.h:81
FRotator AutoRotation
Definition InteractionData.h:88
UPrimitiveComponent * GrabComponent
Definition InteractionData.h:117
int32 Size
Definition InteractionData.h:84
bool bUseAutoRotation
Definition InteractionData.h:92
float CustomThrowForceMultiplier
Definition InteractionData.h:79

Member Data Documentation

◆ AutoRotation

FRotator FPhysicsPickupData::AutoRotation = FRotator::ZeroRotator

◆ bCanBeRotated

bool FPhysicsPickupData::bCanBeRotated = false

◆ bCanMoveOtherPhysicsObjects

bool FPhysicsPickupData::bCanMoveOtherPhysicsObjects = true

◆ bCanSnapSameSize

bool FPhysicsPickupData::bCanSnapSameSize = false

◆ bSnappable

bool FPhysicsPickupData::bSnappable = false

◆ bUseAutoRotation

bool FPhysicsPickupData::bUseAutoRotation = false

◆ CustomThrowForceMultiplier

float FPhysicsPickupData::CustomThrowForceMultiplier = 1.0f

◆ GrabComponent

UPrimitiveComponent* FPhysicsPickupData::GrabComponent = nullptr
protected

◆ Size

int32 FPhysicsPickupData::Size = 1

The documentation for this struct was generated from the following file: