4#include "CoreMinimal.h"
8#include "Components/ActorComponent.h"
18UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
23 int32 SurfaceExplorationHits = 1;
31 virtual
void BeginPlay() override;
34 LastTime, UWeArtTouchableObject* ExploredTouchableObject =
nullptr);
35 void ApplyFingerEffect(UWeArtTouchableObject* ContactObject, UWeArtTouchableObject* OverlapObject, UWeArtHapticObject* HapticObject, FVector
38 bool HitObjectFromFinger(const FString& TraceSocket, const UWeArtTouchableObject* FingerObject) const;
39 bool IsEnoughHitForExploration() const;
41 void ApplySurfaceExplorationFingerEffect(UWeArtHapticObject* UWeArtHapticObject, UWeArtTouchableObject* OverlapObj, const FString& TraceSocket, const FVector&
45 UPROPERTY(EditAnywhere, BlueprintReadOnly)
46 float SurfaceExplorationLineLength = 1.f;
58 float DynamicForceByDistance = 0;
60 FVector LastIndexPosition;
67 void ApplyTextureVelocity(
UWeArtTouchEffect* TouchEffect, UWeArtTouchableObject* TouchableObject, FVector LastLoc,
float LastTime) const;
70 virtual
void TickComponent(
float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
#define WEARTPLUGIN_API
Definition: Definitions.WEARTPlugin.h:26
WeArtFingerType
Definition: WeArtFingerType.h:4
Controls hand interactions and haptic feedback.
Controls haptic feedback for the controller.
Handles the physics interactions between physical and phantom hands.
Effect to be applied to the thimble.
Definition: WeArtTouchEffect.h:30