Hello all! This is my first post here in Community Resources, constructive criticism is appreciated!
TL;DR CANimator is currently an R6 animator script that strips things down and adds smooth transitions. Bring your own animations. See it in action here. Get it here. It’s currently in alpha and doesn’t really do much, but I figured it would be useful to somebody in it’s current state.
Below is the readme file found on this github page.
CANimator
1.04A
A bad alternative to Roblox’s stock animator script.
features
- Directional leaning
- Smoother transitions
- Movement speed based FOV adjustment
Limitations
- !!! R6 ONLY !!!
- No emote handler
- No separate walk/run animations
- No tool hold animation
- Still buggy
- Not very performant
- No priority replication or custom priority system
To-be-added (in order of priority)
- [ ] Remove dependence on R6
- [ ] Animated strafing and walking backwards
- [ ] Landing animation support
- [ ] Fix initial startup
- [ ] Better handling of jumping and falling
- [ ] Priority replication/custom priority system
- [ ] Performance improvements???
Why you should use CANimator
- It’s configurable
CANimator comes with a very extensive config ModuleScript - It’s barebones
CANimator does not include what (I think) doesn’t need to be in an animator script. It does not include an emote handler. It does not include a tool hold animation for you to inevitably groan at having to override. It does what it needs to and nothing else. - It’s Smoother
-CANimator focuses on improving the core feature set of Roblox’s stock animator. Combined with edited character movement (see here) the result can be a much better experience for players, both visually and feeling-ing-ly…? - It Would make me very happy
<3
How to use
- Get CANimator and put it in StarterPlayerScripts
- Configure it how you like
- Add your animations
- Profit
Configuration guide
config.maxWalkspeed = The walkspeed you want CANimator to weight all it's animations to.
config.DoFOVAdjustment = Do you want field of view adjustment or not
config.fovValue = the FOV value you want CANimator to modify
config.fovAdjustmentPath = the camera who's FOV you want CANimator to modify
config.FOVMult = By how much should the fov be multiplied by. The equation is FOV + (current walkspeed / max walkspeed) * FOVMult. For instance, 90 + (8/16) * 1.2 = 90.6
--Animations
config.name = {
["id"] = The ID of the animation as a string: "rbxassetid://#########"
["priority"] = The priority you want the animation to be. Uses the AnimationPriority Enum.
CURRENTLY DOES NOTHING UNTIL ROBLOX FIXES REPLICATION.
}
--Leaning
config.DoLeaning = Do you want leaning or not
config.leanAmount = 5 The amount CANimator should tilt the player. More is more
config.leanEasing = .08 The amount of easing CANimator should apply.
Lower is longer, multiply by 60/framerate
config.jumpLeanAmount = -9 The amount of easing CANimator should apply when a player jumps.
Negative is tilting back, so lower is more
config.MagnitudeCutoff = 1.59 THIS IS "CUSTOM" AND NEEDS MANUAL TUNING.
To figure out what you should set it, uncomment the line print(magnitude) and pay attention to value
in output. Idk I'll fix this later. Maybe.
config.fallLeanAmount = 5 The amount of easing CANimator should apply when a player is falling.
Positive is tilting forward, so higher is more.
config.climbUpLeanAmount = 10 The amount of easing CANimator should apply when a player is
climbing upward. Higher is more.
config.climbDownLeanAmount = 10 The amount of easing CANimator should apply when a player is
climbing downward. Higher is more.
API
none atm. soontm.