eyes, smooth head, and bouncy moving :)
This commit is contained in:
parent
d27c1fa39a
commit
29102f41bd
9 changed files with 43 additions and 1 deletions
28
scripts/eyes.lua
Normal file
28
scripts/eyes.lua
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
local squapi = require("scripts.libs.SquAPI")
|
||||
|
||||
-- eye aim
|
||||
|
||||
squapi.eye:new(
|
||||
models.models.main.Head.Eyes["Left Eye"],
|
||||
0.25,
|
||||
0.75,
|
||||
0.5,
|
||||
0.5
|
||||
)
|
||||
|
||||
squapi.eye:new(
|
||||
models.models.main.Head.Eyes["Right Eye"],
|
||||
0.75,
|
||||
0.25,
|
||||
0.5,
|
||||
0.5
|
||||
)
|
||||
|
||||
-- blink
|
||||
|
||||
squapi.randimation:new(
|
||||
animations["models.main"].blink,
|
||||
70,
|
||||
150,
|
||||
nil
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue