VR Expansion Plugin > VRBase Character > SetSeatedMode

SetSeatedMode

Sets seated mode on the character and then fires off an event to handle any special setup
Target Transform is for teleport location if standing up, or relative camera location when sitting down.
InitialRelCameraTransform is generally the relative transform of the camera at the time of requesting to sit.
ZeroToHead places central point on head, if false it will use foot location and ignore Z values instead.
Post Seated movement mode is the movement mode to switch too after seating is canceled, defaults to Walking and only uses it when un-seating.

Inputs

In
Exec

Target
VRBase Character Object Reference

Seat Parent
Scene Component Object Reference

Set Seated Mode
Boolean

Target Transform
Transform Net Quantize Structure

Initial Rel Camera Transform
Transform Net Quantize Structure

Allowed Radius
Float (single-precision)

Allowed Radius Threshold
Float (single-precision)

Zero to Head
Boolean

Post Seated Movement Mode
EVRConjoinedMovementModes Enum

Outputs

Out
Exec