You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gdevelop5/all-features/expressions-reference.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Common features that can be used for all objects in GDevelop. [Read more explana
27
27
28
28
| Expression | Description ||
29
29
|-----|-----|-----|
30
-
|`Object.Angle()`| Current angle, in degrees, of the object ||
30
+
|`Object.Angle()`| Current angle, in degrees, of the object. For 3D objects, this is the angle around the Z axis.||
31
31
|`Object.AngleToObject(object)`| Compute the angle between two objects (in degrees). If you need the angle to an arbitrary position, use AngleToPosition. ||
32
32
||_👾 Object_| Object |
33
33
|`Object.AngleToPosition(number, number)`| Compute the angle between the object center and a "target" position (in degrees). If you need the angle between two objects, use AngleToObject. ||
Copy file name to clipboardExpand all lines: docs/gdevelop5/all-features/object/reference.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ Delete an object timer from memory.
168
168
Reset the specified object timer, if the timer doesn't exist it's created and started.
169
169
170
170
**Rotate**
171
-
Rotate an object, clockwise if the speed is positive, counterclockwise otherwise.
171
+
Rotate an object, clockwise if the speed is positive, counterclockwise otherwise. For 3D objects, this is the rotation around the Z axis.
172
172
173
173
**Rotate toward angle**
174
174
Rotate an object towards an angle with the specified speed.
@@ -182,7 +182,7 @@ Be sure to call this action on a reasonable number of objects
182
182
to avoid slowing down the game.
183
183
184
184
**Angle**
185
-
Change the angle of rotation of an object (in degrees).
185
+
Change the angle of rotation of an object (in degrees). For 3D objects, this is the rotation around the Z axis.
186
186
187
187
**Change object variable value**
188
188
Modify the boolean value of an object variable.
@@ -218,7 +218,7 @@ Unpause an object timer.
218
218
### Object conditions
219
219
220
220
**Angle**
221
-
Compare the angleof the specified object.
221
+
Compare the angle, in degrees, of the specified object. For 3D objects, this is the angle around the Z axis.
222
222
223
223
**Object is stopped (no forces applied on it)**
224
224
Check if an object is not moving
@@ -308,7 +308,7 @@ Compare the overall speed of an object
308
308
309
309
| Expression | Description ||
310
310
|-----|-----|-----|
311
-
|`Object.Angle()`| Current angle, in degrees, of the object ||
311
+
|`Object.Angle()`| Current angle, in degrees, of the object. For 3D objects, this is the angle around the Z axis.||
312
312
|`Object.AngleToObject(object)`| Compute the angle between two objects (in degrees). If you need the angle to an arbitrary position, use AngleToPosition. ||
313
313
||_👾 Object_| Object |
314
314
|`Object.AngleToPosition(number, number)`| Compute the angle between the object center and a "target" position (in degrees). If you need the angle between two objects, use AngleToObject. ||
0 commit comments