VR Expansion Plugin > VRBase Character > Set Actor Location VR

Set Actor Location VR

Sets the actors location taking into account the HMD as a pivot point, returns the location difference
If SetCapsuleLocation is true then it offsets the capsule to the location, otherwise it will move the Camera itself to the location

Inputs

In
Exec

Target
VRBase Character Object Reference

New Loc
Vector

Teleport
Boolean

Set Capsule Location
Boolean

Outputs

Out
Exec

Return Value
Vector

Sets the actors location taking into account the HMD as a pivot point, returns the location difference
If SetCapsuleLocation is true then it offsets the capsule to the location, otherwise it will move the Camera itself to the location