Mechanic

setrotation

Sets the target's yaw and/or pitch without teleporting it. Does not work on players!

Aliases

setrot

Configuration Fields (3)

NameTypeDefaultDescription
relative
rel, r
booleanWhen set to true, adds to the target's yaw/pitch rather than setting it. Default=false
yaw
y
PlaceholderDoubleThe yaw to be set/add - Either yaw or pitch is required
pitch
p
PlaceholderDoubleThe pitch to be set/add - Either yaw or pitch is required

Examples & Notes

Examples

  Skills:
  - setrotation{relative=true;pitch=-45}
  - ...

Universal Mechanic Options

Author:
jaylawl
Community-maintained documentation for the Mythic plugin ecosystem.