diff --git a/src/api/damageable.md b/src/api/damageable.md index 47ca33792..0cfdf5567 100644 --- a/src/api/damageable.md +++ b/src/api/damageable.md @@ -30,6 +30,7 @@ Damageable is an interface which defines properties, events, and functions for o | ----- | ----------- | ----------- | ---- | | `damagedEvent` | [`Event`](event.md)<`Damageable` damageable, [`Damage`](damage.md) damage> | Fired when the Damageable takes damage. | Server-Only | | `diedEvent` | [`Event`](event.md)<`Damageable` damageable, [`Damage`](damage.md) damage> | Fired when the Damageable dies. | Server-Only | +| `hitPointsChangedEvent` | [`Event`](event.md)<`Damageable` damageable, `number` previousHitPoints> | Fired when there's a change in hit points on the Damageable. | Server-Only | ## Hooks diff --git a/src/api/damageableobject.md b/src/api/damageableobject.md index 0c47d8aad..d78970633 100644 --- a/src/api/damageableobject.md +++ b/src/api/damageableobject.md @@ -37,6 +37,7 @@ DamageableObject is a CoreObject which implements the [Damageable](damageable.md | ----- | ----------- | ----------- | ---- | | `damagedEvent` | [`Event`](event.md)<[`DamageableObject`](damageableobject.md) object, [`Damage`](damage.md) damage> | Fired when the object takes damage. | Server-Only | | `diedEvent` | [`Event`](event.md)<[`DamageableObject`](damageableobject.md) object, [`Damage`](damage.md) damage> | Fired when the object dies. | Server-Only | +| `hitPointsChangedEvent` | [`Event`](event.md)<[`DamageableObject`](damageableobject.md) object, `number` previousHitPoints> | Fired when there's a change in hit points on the object. | Server-Only | ## Hooks diff --git a/src/api/physicsobject.md b/src/api/physicsobject.md index 479dade14..25dce1c8f 100644 --- a/src/api/physicsobject.md +++ b/src/api/physicsobject.md @@ -40,7 +40,8 @@ A CoreObject with simulated physics that can interact with players and other obj | ----- | ----------- | ----------- | ---- | | `damagedEvent` | [`Event`](event.md)<[`PhysicsObject`](physicsobject.md) object, [`Damage`](damage.md) damage> | Fired when the object takes damage. | Server-Only | | `diedEvent` | [`Event`](event.md)<[`PhysicsObject`](physicsobject.md) object, [`Damage`](damage.md) damage> | Fired when the object dies. | Server-Only | -| `collidedEvent` | [`Event`](event.md)<[`PhysicsObject`](physicsobject.md) object , [`HitResult`](hitresult.md) hitResult> | Fired when the object collides with another object. The `HitResult` parameter describes the collision that occurred. | None | +| `hitPointsChangedEvent` | [`Event`](event.md)<[`PhysicsObject`](physicsobject.md) object, `number` previousHitPoints> | Fired when there's a change in hit points on the object. | Server-Only | +| `collidedEvent` | [`Event`](event.md)<[`PhysicsObject`](physicsobject.md) object, [`HitResult`](hitresult.md) hitResult> | Fired when the object collides with another object. The `HitResult` parameter describes the collision that occurred. | None | ## Hooks diff --git a/src/api/player.md b/src/api/player.md index 0c05e558f..32d33073c 100644 --- a/src/api/player.md +++ b/src/api/player.md @@ -40,6 +40,8 @@ Player is an object representation of the state of a player connected to the gam | `shouldFlipOnMultiJump` | `boolean` | Set to `false` to disable flip animation when player performs double-jump, triple-jump, etc. Defaults to `true`, enabling flip animation. | Read-Write | | `jumpVelocity` | `number` | Vertical speed applied to Player when they jump. Default = 900. Speed is expressed in centimeters per second. | Read-Write | | `gravityScale` | `number` | Multiplier on gravity applied. Default = 1.9. | Read-Write | +| `airControl` | `number` | When falling, amount of lateral movement control available to the player. 0 is no control. 1 is full control. Default = 0.5. | Read-Write | +| `maxMountSpeed` | `number` | Maximum speed while the player is mounted. Default = 1280. | Read-Write | | `maxSwimSpeed` | `number` | Maximum speed while the player is swimming. Default = 420. | Read-Write | | `maxFlySpeed` | `number` | Maximum speed while the player is flying. Default = 600. | Read-Write | | `touchForceFactor` | `number` | Force applied to physics objects when contacted with a Player. Default = 1. | Read-Write | diff --git a/src/api/vehicle.md b/src/api/vehicle.md index ce9d3505f..b03cd47aa 100644 --- a/src/api/vehicle.md +++ b/src/api/vehicle.md @@ -66,6 +66,7 @@ Vehicle is a CoreObject representing a vehicle that can be occupied and driven b | `driverExitedEvent` | [`Event`](event.md)<[`Vehicle`](vehicle.md) vehicle, [`Player`](player.md) player> | Fired when a driver exits the vehicle. | None | | `damagedEvent` | [`Event`](event.md)<[`Vehicle`](vehicle.md) vehicle, [`Damage`](damage.md) damage> | Fired when the vehicle takes damage. | Server-Only | | `diedEvent` | [`Event`](event.md)<[`Vehicle`](vehicle.md) vehicle, [`Damage`](damage.md) damage> | Fired when the vehicle dies. | Server-Only | +| `hitPointsChangedEvent` | [`Event`](event.md)<[`Vehicle`](vehicle.md) vehicle, `number` previousHitPoints> | Fired when there's a change in hit points on the vehicle. | Server-Only | ## Hooks