Rotate/pivot (Effect) — DisplayEntityUtils

Addon: DisplayEntityUtils · Category: Effect · Since: 3.4.3, 3.6.0 (Rotate around, more types)

Syntax

deu rotate [world] (x|y|z) [axis] (on|of) %activegroups/activeparts/partfilters/entities% [(with|including|and) [its] non( |-)displays] by %number% [degrees] [[pivot(ed|ing)] around %-location%]

Description

Update the axis rotation of an active group/part or display entity, in degrees. In groups, this only applies to display entity parts and display entities. Using this on a non-display entity will pivot it around a location, as long as location is provided.

Examples

deu rotate y of {_activegroup} by 45 degrees
deu rotate y of {_activegroup} and its non-displays by 60 degrees
deu rotate world y axis of {_partfilter} by 30 degrees around {_pivotlocation}
deu rotate z axis of {_display} by 90 degrees around {_pivotlocation}
deu rotate world y on {_interaction} by 60 degrees around {_pivotlocation}

#Before 3.6.0
deu rotate y of {_activegroup} by 45

deu rotate z of {_activepart} by 20
deu rotate world y of {_activepart} by 90

View source