Configuration
After downloading the .rbxl or .rbxm Body module, you'll find a Config.luau file inside either ReplicatedStorage>Body>Config or if you downloaded the module directly, then Body>Config.
Upon opening the Config.luau file, you'll see something similar to:
Luareturn { R15 = { DefaultSpeed = 4, DefaultMaxJointAngle = 25, DefaultNeckWeight = 0.75, DefaultWaistWeight = 0.45, DefaultUpdateJointFrequency = 0.2, }, R6 = { DefaultSpeed = 7, DefaultUpdateJointFrequency = 0.2, }, MaxServerJointUpdateDistance = 200, OtherPlayerJointTweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), }
This is the configuration every Body object will adhere to. So let's breakdown every configuration:
- R15: This is a dictionary containing the default values when instantiating an R15 body.
- R6: This is a dictionary containing the default values when instantiating an R6 body.
- MaxServerJointUpdateDistance: The max distance a player can be from another player to not receive joint updates from them.
- OtherPlayerJointTweenInfo: The TweenInfo used when updating another player's joint.