Group Ride Offset

circle-info
  • Model → 2 Goat Horns

  • Entity → Zombie

  • Goal → Make horns appear on the sides of the zombie's head

Does your DisplayController require vertical offset?

  • Groups used in DisplayControllers are mounted on top of entities

  • Using /deu group ride -target we can view how the group will look without any offset

  • If the group is not in a desired position, the offset will have to be set

  • Result of /deu group ride <-target | player-name | entity-uuid>

In this situation, the group is riding the zombie! But it was modeled too high, so a negative verticalOffset needs to be applied to the DisplayController to move it downwards


Testing vertical offsets

  • In your DisplayController change the groupProperties.offset property to an appropriate value. This process may include trial and error.

    Since the goat horns were too high, a negative y value will be used to offset the model.

triangle-exclamation

Result

Last updated