Update Gaze authored by Jonathan Ehret's avatar Jonathan Ehret
...@@ -3,5 +3,8 @@ Gazing and Blinking can e realized with the ''VHGazing'' component. It also impl ...@@ -3,5 +3,8 @@ Gazing and Blinking can e realized with the ''VHGazing'' component. It also impl
There are different methods to: There are different methods to:
* `GazeTo(FVector Target)`: gaze to a position given as world-space vector. * `GazeTo(FVector Target)`: gaze to a position given as world-space vector.
* `GazeToActor(AActor* GazeTargetActor, FVector Offset = FVector::ZeroVector)`: gaze to an actor, potentially giving an offset in world-space to be used from that actor's location. * `GazeToActor(AActor* GazeTargetActor, FVector Offset = FVector::ZeroVector)`: gaze to an actor, potentially giving an offset in world-space to be used from that actor's location.
* `void GazeToComponent(USceneComponent* GazeTargetComponent, FVector Offset = FVector::ZeroVector)`: same as above, but gazing towards a component.
* `void GazeToUser()`: Gaze at the head of the VR user, needs a AVirtualRealityPawn of the [RWTH VR Toolkit](https://devhub.vr.rwth-aachen.de/VR-Group/unreal-development/plugins/rwth-vr-toolkit) to be used.
* `void StopGazing()`: Look straight ahead again (or whatever is the default of the skeletal mesh / animation)
Additionally have Additionally have .....
\ No newline at end of file \ No newline at end of file