humanoidless character controller+replicator
| ico.svg | contents |
|---|---|
| setup: setup.md rbxm: extras/cc-demo-scripts.rbxm demo: https://www.roblox.com/games/104949334668691/cc-demo |
cc has a self-contained PlayerModule functionality (cc/cameracontroller.luau, cc/inputcontroller.luau, cc/viewport.luau) and therefore conflicts with the default roblox PlayerModule. as such, an empty fork should be placed in StarterPlayer/StarterPlayerScripts:
"StarterPlayer": {
"$className": "StarterPlayer",
"StarterPlayerScripts": {
"$className": "StarterPlayerScripts",
"PlayerModule": { "$className": "ModuleScript" },
"PlayerScriptsLoader": { "$className": "LocalScript" }
}
}replicated positions are represented as i24's (breakdown of the replication buffer can be viewed in cc/replication.luau's replication.create()). any positional component that is written beyond this limit will apply integer overflow. the range can be expanded by increasing replication.precision at the expense of visual accuracy
by default, integer overflow for replicated positions will occur when a point-along-an-axis is ~= ±209714.2 studs away from 0
limitalongaxis = replication.precision * 2^23-1
vr is not supported (no vr headset T_T), but will most definitely be added when i have the means to do so
a step-by-step guide for implementing cc from scratch or into a preexisting project
rendered: setup.md
ㅍ cc by 00826