recordAimAssistSettings
recordAimAssistSettings(
settings):false| {centering:number;friction:number;innerMarginRadians:number;outerMarginRadians:number;targetPlayers:boolean;targets?:string[];tracking:number;weakSpotFriction:number; }
settings as JSON, which the welcome compares between the room’s
composition and a page’s: each target trait by its name.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
settings |
false | AimAssistSettings |
Returns
Section titled “Returns”false
Type Literal
Section titled “Type Literal”{ centering: number; friction: number; innerMarginRadians: number; outerMarginRadians: number; targetPlayers: boolean; targets?: string[]; tracking: number; weakSpotFriction: number; }
| Name | Type | Description |
|---|---|---|
centering |
number |
How fast the camera turns toward a target’s nearest edge while the look moves toward it, as a share of 30 degrees a second. It stops at the edge, so it never pulls the crosshair to a body’s middle or off a head. |
friction |
number |
How much the player’s look slows while a target is held: a drag turns 1 - friction as far inside the inner margin. |
innerMarginRadians |
number |
Radians past what a shot meets, a target’s capsule or any of its hit zones, within which the assist helps whole, 0 or more. |
outerMarginRadians |
number |
Radians past it at which the help has faded to nothing, at least innerMarginRadians. |
targetPlayers |
boolean |
Whether hostile players’ characters count too. Off, since a desktop browser can emulate touch, and the room cannot tell a finger from a mouse. |
targets? |
string[] |
- |
tracking |
number |
How much of a held target’s motion about the character the camera follows. |
weakSpotFriction |
number |
friction while the crosshair’s ray strikes one of the held target’s weak spots, a hit zone whose multiplier is above 1. |