-
Notifications
You must be signed in to change notification settings - Fork 0
[Smoothie] Eyes Pivot
Sh1zok edited this page Apr 25, 2026
·
1 revision
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.
To attach the camera to your eyes, do the following:
-
Initialize Smoothie and store it in a variable.
For example:local smoothie = require("Smoothie") -
Copy the path to the model part that is the eyes pivot.
For example:models.model.root.Head.Eyes -
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)