Repository navigation
Ads Constraint
ARG Studios edited this page Oct 15, 2026
·
2 revisions
ADS Constraint stabilizes the player's camera while aiming down sights (ADS), preventing unwanted camera rotation caused by weapon animations.
First you need to do some work in blockbench .
Create a bone which is a group called "constraint" and put it under your main gun bone
Add the AdsConstraint feature to your weapon's JSON configuration.
{
"type": "AdsConstraint",
"enabled": true,
"camera": true,
"cameraConstraint": 0.6
}| Property | Description |
|---|---|
type |
Specifies the feature type. Must be AdsConstraint. |
enabled |
Enables or disables the feature. |
camera |
Enables or disables camera stabilization. |
cameraConstraint |
Controls the camera constraint value. |