7 Super(ObjectInitializer)
41 float DeltaTime, FTransform & WorldTransform,
42 const FTransform &ParentTransform,
45 UPrimitiveComponent * root,
46 bool bRootHasInterface,
47 bool bActorHasInterface,
54 FTransform LocalTransform;
64 FTransform RotationalessTransform = ParentTransform;
65 RotationalessTransform.SetRotation(FQuat::Identity);
76 LocalTransform = parent->GetComponentTransform();
78 LocalTransform = FTransform::Identity;
80 WorldTransform = WorldTransform.GetRelativeTransform(LocalTransform);
83 FVector componentLoc = WorldTransform.GetLocation();
95 WorldTransform.SetLocation(componentLoc);
97 FRotator componentRot = WorldTransform.GetRotation().Rotator();
109 WorldTransform.SetRotation(componentRot.Quaternion());
113 WorldTransform = WorldTransform * LocalTransform;
@ OverridesWorldTransform
virtual void OnGripRelease_Implementation(UGripMotionControllerComponent *ReleasingController, const FBPActorGripInformation &GripInformation, bool bWasSocketed=false) override
FBPGS_InteractionSettings InteractionSettings
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "InteractionSettings")
UGS_InteractibleSettings(const FObjectInitializer &ObjectInitializer)
void RemoveRelativeRotation(UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation)
virtual bool GetWorldTransform_Implementation(UGripMotionControllerComponent *GrippingController, float DeltaTime, FTransform &WorldTransform, const FTransform &ParentTransform, FBPActorGripInformation &Grip, AActor *actor, UPrimitiveComponent *root, bool bRootHasInterface, bool bActorHasInterface, bool bIsForTeleport) override
virtual void OnGrip_Implementation(UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation) override
virtual void OnBeginPlay_Implementation(UObject *CallingOwner) override
UCLASS(Blueprintable, meta = (BlueprintSpawnableComponent), ClassGroup = MotionController)
FTransform GetParentTransform(bool bGetWorldTransform=true, FName BoneName=NAME_None)
UFUNCTION(BlueprintPure, Category = "VRGripScript")
EGSTransformOverrideType WorldTransformOverrideType
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
bool bIsActive
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
uint32 bLimitRoll
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Angular")
uint32 bLimitY
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Linear")
uint32 bLimitsInLocalSpace
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings")
FVector_NetQuantize100 MinLinearTranslation
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Linear")
uint32 bIgnoreHandRotation
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Angular")
uint32 bGetInitialPositionsOnBeginPlay
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings")
uint32 bLimitX
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Linear")
FVector_NetQuantize100 MaxLinearTranslation
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Linear")
FRotator MinAngularTranslation
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Angular")
uint32 bLimitYaw
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Angular")
FVector_NetQuantize100 InitialLinearTranslation
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Linear", meta = (editcondition = "!...
bool bHasValidBaseTransform
FRotator InitialAngularTranslation
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Angular", meta = (editcondition = "!...
uint32 bLimitPitch
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Angular")
uint32 bLimitZ
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Linear")
FRotator MaxAngularTranslation
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "Settings|Angular")