VR Expansion Plugin > VRBase Character > Set Actor Location and Rotation VR

Set Actor Location and Rotation VR

Sets the actors rotation and location taking into account the HMD as a pivot point (also moves the actor), returns the location difference from the rotation
If bRotateAroundCapsule is true then it rotates around the offset capsule, otherwise it rotates around the camera

Inputs

In
Exec

Target
VRBase Character Object Reference

New Loc
Vector

New Rot
Rotator

Use Yaw Only
Boolean

Account for HMDRotation
Boolean

Teleport
Boolean

Rotate Around Capsule
Boolean

Outputs

Out
Exec

Return Value
Vector

Sets the actors rotation and location taking into account the HMD as a pivot point (also moves the actor), returns the location difference from the rotation
If bRotateAroundCapsule is true then it rotates around the offset capsule, otherwise it rotates around the camera