Skip to content

Commit 9586237

Browse files
authored
Apply suggestions from code review
1 parent 621b132 commit 9586237

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

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

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,38 +126,45 @@ methods:
126126
summary: |
127127
Calculates a value simulating a critically damped spring.
128128
description: |
129-
Returns a tuple that allows smoothing a value towards a target simulating
129+
Returns a tuple that allows smoothing a value towards a target, simulating
130130
a critically damped spring. Supports `Datatype.Vector2`,
131-
`Datatype.Vector3`, and `Datatype.CFrame`, and number.
131+
`Datatype.Vector3`, `Datatype.CFrame`, and number.
132132
code_samples: []
133133
parameters:
134134
- name: current
135135
type: Variant
136136
default:
137-
summary: 'The current position.'
137+
summary:
138+
The current position.
138139
- name: target
139140
type: Variant
140141
default:
141-
summary: 'The target position.'
142+
summary:
143+
The target position.
142144
- name: velocity
143145
type: Variant
144146
default:
145-
summary: 'The initial velocity at which the current position should approach the target position.'
147+
summary:
148+
The initial velocity at which the current position should approach the target position.
146149
- name: smoothTime
147150
type: float
148151
default:
149-
summary: 'The duration in which the total smoothing operation should take place.'
152+
summary:
153+
The duration in which the total smoothing operation should take place.
150154
- name: maxSpeed
151155
type: float?
152156
default:
153-
summary: 'The maximum speed at which the current position should approach the target position.'
157+
summary:
158+
The maximum speed at which the current position should approach the target position.
154159
- name: dt
155160
type: float?
156161
default:
157-
summary: 'The rate at which the smoothing operation should be applied.'
162+
summary:
163+
The rate at which the smoothing operation should be applied.
158164
returns:
159165
- type: Tuple
160-
summary: 'The new position and velocity calculated from the smoothing operation.'
166+
summary:
167+
The new position and velocity calculated from the smoothing operation.
161168
tags: []
162169
deprecation_message: ''
163170
security: None

0 commit comments

Comments
 (0)