diff options
| author | Mel Collins | 2018-04-29 15:44:07 +0200 |
|---|---|---|
| committer | Mel Collins | 2018-04-29 15:44:07 +0200 |
| commit | b431264f773f250a580d6c61fa7858fca3833bf0 (patch) | |
| tree | ba85816fb4a354c47aeb58bc297a33f4f12bad83 /doc/classes/Transform.xml | |
| parent | d0183effe02edb973e44e5ad8b3608d861f86490 (diff) | |
| download | godot-b431264f773f250a580d6c61fa7858fca3833bf0.tar.gz godot-b431264f773f250a580d6c61fa7858fca3833bf0.tar.zst godot-b431264f773f250a580d6c61fa7858fca3833bf0.zip | |
[DOCS] Clarify look_at and looking_at
Diffstat (limited to '')
| -rw-r--r-- | doc/classes/Transform.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/Transform.xml b/doc/classes/Transform.xml index d9f9d8cc7..4567f1681 100644 --- a/doc/classes/Transform.xml +++ b/doc/classes/Transform.xml @@ -99,7 +99,9 @@ <argument index="1" name="up" type="Vector3"> </argument> <description> - Rotate the transform around the up vector to face the target. + Returns a copy of the transform rotated such that its -Z axis points towards the [code]target[/code] position. + The transform will first be rotated around the given [code]up[/code] vector, and then fully aligned to the target by a further rotation around an axis perpendicular to both the [code]target[/code] and [code]up[/code] vectors. + Operations take place in global space. </description> </method> <method name="orthonormalized"> |
