Skip to content

[Smoothie] Eyes Pivot

Sh1zok edited this page Apr 25, 2026 · 1 revision

Module purpose

This module allows you to move the camera to follow the eyes. Useful for animations of sitting, lying down, etc.

Note

Calling the function again will overwrite the model part to which the camera is attached.

Intallation process

To attach the camera to your eyes, do the following:

  1. Initialize Smoothie and store it in a variable.
    For example: local smoothie = require("Smoothie")

  2. Copy the path to the model part that is the eyes pivot.
    For example: models.model.root.Head.Eyes

  3. Use setEyesPivot()
    For example: local eyesPivot = smoothie:setEyesPivot(models.model.root.Head.Eyes)

Final example:

local smoothie = require("Smoothie")
local eyesPivot = smoothie:setEyesPivot(models.model.root.Head.Eyes)

Clone this wiki locally