8 Super(ObjectInitializer)
32 TArray<FBPGripPair> HoldingControllers;
34 IVRGripInterface::Execute_IsHeld(
GetParent(), HoldingControllers, bIsHeld);
36 int NumControllers = HoldingControllers.Num();
40 if (NumControllers > 1)
47 if(bReCreate && Grip.HoldingController != GrippingController)
48 Grip.HoldingController->UpdatePhysicsHandle(Grip.GripID,
true);
59 Grip.HoldingController->UpdatePhysicsHandle(Grip.GripID,
true);
virtual void OnGripRelease_Implementation(UGripMotionControllerComponent *ReleasingController, const FBPActorGripInformation &GripInformation, bool bWasSocketed=false) override
FBPAdvancedPhysicsHandleSettings MultiHandPhysicsSettings
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Physics Settings")
void UpdateDualHandInfo(UGripMotionControllerComponent *GrippingController=nullptr, bool bRecreate=true)
virtual void OnGrip_Implementation(UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation) override
FBPAdvancedPhysicsHandleSettings SingleHandPhysicsSettings
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Physics Settings")
UGS_Physics(const FObjectInitializer &ObjectInitializer)
virtual void HandlePostPhysicsHandle(UGripMotionControllerComponent *GrippingController, FBPActorPhysicsHandleInformation *HandleInfo) override
UCLASS(Blueprintable, meta = (BlueprintSpawnableComponent), ClassGroup = MotionController)
bool bInjectPostPhysicsHandle
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
bool bInjectPrePhysicsHandle
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
bool bDenyLateUpdates
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
EGSTransformOverrideType WorldTransformOverrideType
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
bool bIsActive
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "GSSettings")
bool bCanEverTick
UPROPERTY(BlueprintReadWrite, EditDefaultsOnly, Category = "TickSettings")
UObject * GetParent()
UFUNCTION(BlueprintPure, Category = "VRGripScript")
float MaxForceCoefficient
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "PhysicsSettings", meta = (ClampMin = "0....
FBPAdvancedPhysicsHandleAxisSettings TwistSettings
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Angular Constraint Settings")
FBPAdvancedPhysicsHandleAxisSettings SlerpSettings
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Angular Constraint Settings")
bool FillTo(FBPActorPhysicsHandleInformation *HandleInfo) const
FBPAdvancedPhysicsHandleAxisSettings YAxisSettings
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Linear Constraint Settings")
FBPAdvancedPhysicsHandleAxisSettings ZAxisSettings
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Linear Constraint Settings")
FBPAdvancedPhysicsHandleAxisSettings XAxisSettings
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Linear Constraint Settings")
FBPAdvancedPhysicsHandleAxisSettings SwingSettings
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Angular Constraint Settings")
USTRUCT(BlueprintType, Category = "VRExpansionLibrary")