Skip to content

Commit 0eca681

Browse files
author
GDevelop documentation CI
committed
Automatic update of the reference pages [skip ci]
1 parent 1b5f84a commit 0eca681

1 file changed

Lines changed: 76 additions & 0 deletions

File tree

docs/gdevelop5/extensions/a3f/index.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,82 @@ Note that if a morph target is affected by a playing animation, it will override
454454

455455
> Technical note: this action internal type (in GDevelop JSON) is `A3F::ResetMorphTargets`.
456456

457+
**👀Rotate child toward 3D object (Experimental)**
458+
Rotate the child towards the 3D object.
459+
Unlike "👀Look at 3D object", this action rotates toward the target at a specified speed without locking the up direction.
460+
Note that if a child is affected by a playing animation, it will override this change. In that case, please pause the animation.
461+
462+
??? quote "See parameters & details"
463+
464+
- Parameter 1: 👾 Object
465+
- Parameter 2 (🧩 Behavior): 3D capability
466+
- Parameter 3 (🔤 String): Child name
467+
- Parameter 4 (🔤 String): Child front (one of: "x", "y", "z", "-x", "-y", "-z")
468+
- Parameter 5 (🔢 Number): Angle (in degrees)
469+
- Parameter 6 (👾 Object): Target 3D object
470+
- Parameter 7 (🧩 Behavior): Target 3D capability
471+
- Parameter 8 (🔤 String): Points of the target 3D object (one of: "Center point", "Origin point")
472+
473+
> Technical note: parameters 0, 9 are internal parameters handled by GDevelop.
474+
475+
> Technical note: this action internal type (in GDevelop JSON) is `A3F::RotateChildTowardObject`.
476+
477+
**👀Rotate child toward 3D object on axis (Experimental)**
478+
Rotates a child toward a target along a single specified axis.
479+
The rotation is constrained to the given axis leaving the other axes unchanged.
480+
Note that if a child is affected by a playing animation, it will override this change. In that case, please pause the animation.
481+
482+
??? quote "See parameters & details"
483+
484+
- Parameter 1: 👾 Object
485+
- Parameter 2 (🧩 Behavior): 3D capability
486+
- Parameter 3 (🔤 String): Child name
487+
- Parameter 4 (🔤 String): Child front (one of: "x", "y", "z", "-x", "-y", "-z")
488+
- Parameter 5 (🔤 String): Axis (one of: "x", "y", "z")
489+
- Parameter 6 (🔢 Number): Angle (in degrees)
490+
- Parameter 7 (👾 Object): Target 3D object
491+
- Parameter 8 (🧩 Behavior): Target 3D capability
492+
- Parameter 9 (🔤 String): Points of the target 3D object (one of: "Center point", "Origin point")
493+
494+
> Technical note: parameters 0, 10 are internal parameters handled by GDevelop.
495+
496+
> Technical note: this action internal type (in GDevelop JSON) is `A3F::RotateChildTowardOnAxis`.
497+
498+
**👀Rotate toward 3D object (Experimental)**
499+
Unlike "👀Look at 3D object", this action rotates toward the target at a specified speed without locking the up direction.
500+
501+
??? quote "See parameters & details"
502+
503+
- Parameter 1: 👾 Object
504+
- Parameter 2 (🧩 Behavior): 3D capability
505+
- Parameter 3 (🔢 Number): Angle (in degrees)
506+
- Parameter 4 (👾 Object): Target 3D object
507+
- Parameter 5 (🧩 Behavior): Target 3D capability
508+
- Parameter 6 (🔤 String): Points of the target 3D object (one of: "Center point", "Origin point")
509+
510+
> Technical note: parameters 0, 7 are internal parameters handled by GDevelop.
511+
512+
> Technical note: this action internal type (in GDevelop JSON) is `A3F::RotateTowardObject`.
513+
514+
**👀Rotate toward 3D object on axis (Experimental)**
515+
Rotates an object toward a target along a single specified axis.
516+
The rotation is constrained to the given axis (y, or z), leaving
517+
the other axes unchanged.
518+
519+
??? quote "See parameters & details"
520+
521+
- Parameter 1: 👾 Object
522+
- Parameter 2 (🧩 Behavior): 3D capability
523+
- Parameter 3 (🔤 String): Axis (one of: "y", "z")
524+
- Parameter 4 (🔢 Number): Angle (in degrees)
525+
- Parameter 5 (👾 Object): Target 3D object
526+
- Parameter 6 (🧩 Behavior): Target 3D capability
527+
- Parameter 7 (🔤 String): Points of the target 3D object (one of: "Center point", "Origin point")
528+
529+
> Technical note: parameters 0, 8 are internal parameters handled by GDevelop.
530+
531+
> Technical note: this action internal type (in GDevelop JSON) is `A3F::RotateTowardOnAxis`.
532+
457533
**👂️Set listener for camera**
458534
Set a listener on the 3D camera.
459535
Only one listener can exist in the scene at any time.

0 commit comments

Comments
 (0)