Skip to content

Commit 5c664ff

Browse files
author
ramdoys
authored
fix: add SmoothDamp documentation (#937)
## Changes Adds documentation for the newly added `TweenService:SmoothDamp` method. ## Checks By submitting your pull request for review, you agree to the following: - [x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [x] To the best of my knowledge, all proposed changes are accurate. ---------
1 parent 40c1fac commit 5c664ff

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

content/en-us/reference/engine/classes/TweenService.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,11 @@ methods:
123123
capabilities: []
124124
writeCapabilities: []
125125
- name: TweenService:SmoothDamp
126-
summary: ''
127-
description: ''
126+
summary: |
127+
Calculates a value simulating a critically damped spring.
128+
description: |
129+
Returns a value that allows smoothing a value towards a target simulating a critically damped spring.
130+
Supports `Datatype.Vector2`, `Datatype.Vector3`, and `Datatype.CFrame`, and number.
128131
code_samples: []
129132
parameters:
130133
- name: current

0 commit comments

Comments
 (0)