VR Expansion Plugin > VRBase Character > Set Actor Rotation VR

Set Actor Rotation VR

Sets the actors rotation taking into account the HMD as a pivot point (also moves the actor), returns the location difference
bAccountForHMDRotation sets the rot to have the HMD face the given rot, if it is false it ignores the HMD 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 Rot
Rotator

Use Yaw Only
Boolean

Account for HMDRotation
Boolean

Rotate Around Capsule
Boolean

Outputs

Out
Exec

Return Value
Vector

Sets the actors rotation taking into account the HMD as a pivot point (also moves the actor), returns the location difference
bAccountForHMDRotation sets the rot to have the HMD face the given rot, if it is false it ignores the HMD rotation
If bRotateAroundCapsule is true then it rotates around the offset capsule, otherwise it rotates around the camera