You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Merge pull request #63684 from aaronfranke/translated
Fix TranslatedLocal method in C# affecting the original transform
This commit is contained in:
@@ -243,9 +243,9 @@ namespace Godot
|
||||
{
|
||||
return new Transform3D(basis, new Vector3
|
||||
(
|
||||
origin[0] += basis.Row0.Dot(offset),
|
||||
origin[1] += basis.Row1.Dot(offset),
|
||||
origin[2] += basis.Row2.Dot(offset)
|
||||
origin[0] + basis.Row0.Dot(offset),
|
||||
origin[1] + basis.Row1.Dot(offset),
|
||||
origin[2] + basis.Row2.Dot(offset)
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user