Knockback
Parameters
fromPosition: Vector3
The position from which knockback should be applied. If this is equal to the position of the hit entity, no knockback will be applied.
horizontal: number | nil
The amount of horizontal knockback applied. Defaults to 1. A value of 0 will apply no horizontal knockback.
vertical: number | nil
The amount of vertical knockback applied. Defaults to 1. A value of 0 will apply no vertical knockback.
Example usage:
Last updated