-
Notifications
You must be signed in to change notification settings - Fork 7
server.modules.AnimPlayer
Mahatma Kollu edited this page Oct 19, 2021
·
2 revisions
▸ playAnim(character, animation, info?): AnimationTrack
A utility function which plays an animation on a player's character.
| Name | Type | Description |
|---|---|---|
character |
undefined | Player | Model
|
either a player, a player's character, or undefined. if it's a player it will conver it to the player's character. if it's undefined it will error. |
animation |
string | number
|
either a string or number which is converted into an aniamtion instance |
info? |
Object |
info that will modify how the animation will be played |
info.Fade? |
number |
- |
info.Looped? |
boolean |
- |
AnimationTrack
- client/controllers/SpringCam
- client/controllers/Direction
- client/controllers/Rotation
- client/controllers/Shake
- client/controllers/Input
- server/modules/InputParser
- server/modules/Middleware
- server/modules/AnimPlayer
- server/modules/Action
- server/modules/Defer