Lunoracle-NoJiggle icon

NoJiggle

Client-side FPS saver. Stops jiggle physics on custom player models (ModelReplacementAPI and JigglePhysicsPlugin). Optional: turn off the live head camera on the ship's radar monitor. Both toggle live.

Last updated 2 weeks ago
Total downloads 240
Total rating 1 
Categories Mods BepInEx Client-side Performance AI Generated
Dependency string Lunoracle-NoJiggle-1.1.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

NoJiggle

Ever found a player model you really liked, but it lagged too much to use? A lot of the time the culprit is jiggle physics (also called dynamic bones): every strand of hair, tail and skirt being simulated every frame, for every player on screen. NoJiggle forces jiggle physics off, so you can keep using the character and still see it normally, just without the swinging bones.

Client-side FPS saver for Lethal Company (v81). It does two things, each with its own switch: jiggle is turned off by default, and the radar head camera is an optional extra you can turn off too.

What it changes, exactly

1. Jiggle physics on player models

  • What it does: skips the per-frame jiggle update (JiggleRigHandler.UpdateJiggleRigs) in both jiggle systems that model mods use:
    • the JigglePhysics built into ModelReplacementAPI
    • HGG's JigglePhysicsPlugin
  • What you'll see: jiggle bones (hair, tails, skirts, ears, chest and so on) stop swinging and just follow the model's normal animation. This applies to every player model on your screen: yours, other players' and bots'.
  • What it leaves alone: the models themselves (meshes, textures, suits) and the vanilla player model, which has no jiggle bones.
  • If neither jiggle system is installed, this part does nothing.

2. Head camera on the ship's radar monitor (optional, off by default)

  • What it does (when you turn DisableRadarHeadCam on): right after the radar's own update each frame (ManualCameraRenderer.Update and LateUpdate), it turns off the radar's head-mounted camera and the picture it draws on the monitor.
  • What you'll see: the small live view from the followed player's head, added to vanilla in v80, is gone from the radar monitor. That view is a second camera rendering the whole scene every frame.
  • What it leaves alone: the radar map, switching radar targets, the terminal and the other ship cameras.

What it doesn't do

  • It sends nothing over the network and saves nothing. Only what your own PC renders changes.
  • Other players don't need it. You can join any lobby with or without it.
  • No gameplay changes.

Config

BepInEx/config/charles.nojiggle.cfg, or in game through LethalConfig:

Setting Default What it does
DisableJigglePhysics true Stops jiggle physics on all player models
DisableRadarHeadCam false Turns off the radar monitor's head camera

Both apply right away, without a restart. If you turn jiggle off in the middle of a round, a bone might stay in the pose it had at that moment until the model reloads.

Checking it works

On startup the BepInEx log shows a line like this:

NoJiggle 1.1.0 loaded: 2 jiggle system(s) patched, jiggle off = True, radar head cam off = False

The number of patched systems depends on which jiggle mods you have (0, 1 or 2).

Made with AI

The code was written with Claude (Anthropic's AI assistant) and tested in game by the author.