# \#matrix

**URL:** https://forums.unrealengine.com/tag/matrix/298.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [How do i store multiple locations into a single variable easily?](https://forums.unrealengine.com/t/how-do-i-store-multiple-locations-into-a-single-variable-easily/2700165)

<div class="topic-metadata">

**Author:** [@DravenMalak](https://forums.unrealengine.com/u/DravenMalak)\
**Replies:** 3\
**Last updated:** [February 23, 2026, 5:13pm UTC](https://forums.unrealengine.com/t/how-do-i-store-multiple-locations-into-a-single-variable-easily/2700165 "2026-02-23T17:13:39Z")

</div>

I don’t want certain meshes to exist in the level by default. I know I can hide/unhide, but that wont work here. I want them to appear in a random location when they are needed. I am trying to create a vector matrix to s…

---

## [City Sample project on UE5.5.4 and UE5.6.1 has issues restricting the build options.](https://forums.unrealengine.com/t/city-sample-project-on-ue5-5-4-and-ue5-6-1-has-issues-restricting-the-build-options/2651499)

<div class="topic-metadata">

**Author:** [@Sumant\_Bag\_1992](https://forums.unrealengine.com/u/Sumant_Bag_1992)\
**Replies:** 14\
**Last updated:** [September 5, 2025, 2:59pm UTC](https://forums.unrealengine.com/t/city-sample-project-on-ue5-5-4-and-ue5-6-1-has-issues-restricting-the-build-options/2651499 "2025-09-05T14:59:16Z")

</div>

On UE5.5.4, working with the city sample project (City Sample | Fab), while trying to load the platforms to package the project, I get the following ERROR: LogTurnkeySupport: Warning: Turnkey failed to run properly, ful…

---

## [View Projection Matrix -\> How to use](https://forums.unrealengine.com/t/view-projection-matrix-how-to-use/1387433)

<div class="topic-metadata">

**Author:** [@Pholuup](https://forums.unrealengine.com/u/Pholuup)\
**Replies:** 1\
**Last updated:** [March 21, 2025, 12:17pm UTC](https://forums.unrealengine.com/t/view-projection-matrix-how-to-use/1387433 "2025-03-21T12:17:04Z")

</div>

Hello there, first of all, I’d like to remark that I am pretty much a total beginner with UE, however I have to use it for a project I am working on. Background: I have got a translating object in my UE world, that is…

---

## [Is FMatrix 4x3? Where's the 4x4 matrix?](https://forums.unrealengine.com/t/is-fmatrix-4x3-wheres-the-4x4-matrix/376131)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c8cdff6f](https://forums.unrealengine.com/u/anonymous_user_c8cdff6f)\
**Replies:** 3\
**Last updated:** [August 7, 2024, 6:17pm UTC](https://forums.unrealengine.com/t/is-fmatrix-4x3-wheres-the-4x4-matrix/376131 "2024-08-07T18:17:44Z")

</div>

So I was trying to do some matrix math today in Unreal and noticed that in the docs it states that FMatrix is 4x4, but the constructor overloads only work with FVector (and not FVector4)?! So what kind of matrix type has…

---

## [Sizeof FTransform is less that Sizeof FMatrix, Why?](https://forums.unrealengine.com/t/sizeof-ftransform-is-less-that-sizeof-fmatrix-why/483866)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_18562373](https://forums.unrealengine.com/u/anonymous_user_18562373)\
**Replies:** 1\
**Last updated:** [May 26, 2021, 10:13pm UTC](https://forums.unrealengine.com/t/sizeof-ftransform-is-less-that-sizeof-fmatrix-why/483866 "2021-05-26T22:13:22Z")

</div>

Hi, I was just trying to decide whether to use FTransform or FMatrix for a TMap. Intutively I thought sizeof(FMatrix) would be less than Sizeof(FTransform) – But when I logged them out - SizeOf(FMatrix) = 64 bytes Si…

---

## [Unity shader explanation in Unreal](https://forums.unrealengine.com/t/unity-shader-explanation-in-unreal/483071)

<div class="topic-metadata">

**Author:** [@NoirMiller](https://forums.unrealengine.com/u/NoirMiller)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 7:25pm UTC](https://forums.unrealengine.com/t/unity-shader-explanation-in-unreal/483071 "2021-05-07T19:25:42Z")

</div>

Hi, guys! Could someone explain please the nodes or code, that I should write in Material nodes (check picture)? The article: Wile E. Coyote Effect | Matt Stark’s Game Development Portfolio The picture with Unity shad…

---

## [Rotate the material shader relative to the camera view](https://forums.unrealengine.com/t/rotate-the-material-shader-relative-to-the-camera-view/482899)

<div class="topic-metadata">

**Author:** [@NoirMiller](https://forums.unrealengine.com/u/NoirMiller)\
**Replies:** 3\
**Last updated:** [May 5, 2021, 9:20am UTC](https://forums.unrealengine.com/t/rotate-the-material-shader-relative-to-the-camera-view/482899 "2021-05-05T09:20:34Z")

</div>

Hello everyone! I have objects that I am looking at. When I approach the wall, it should cover the objects with the texture, creating the illusion of the wall extending. This is implemented here: Wile E. Coyote Effect |…

---

## [How to create a matrix of floating text?](https://forums.unrealengine.com/t/how-to-create-a-matrix-of-floating-text/480768)

<div class="topic-metadata">

**Author:** [@Galedon95](https://forums.unrealengine.com/u/Galedon95)\
**Replies:** 9\
**Last updated:** [March 23, 2021, 10:34pm UTC](https://forums.unrealengine.com/t/how-to-create-a-matrix-of-floating-text/480768 "2021-03-23T22:34:21Z")

</div>

Hello, I have a square grid on the map and I need to make a (unique) floating value above each square. I build my texts matrix in construction script using AddTextRenderComponent - that works fine. The problem is t…

---

## [Material stretching](https://forums.unrealengine.com/t/material-stretching/472794)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_32e79795](https://forums.unrealengine.com/u/anonymous_user_32e79795)\
**Replies:** 8\
**Last updated:** [October 12, 2020, 1:37pm UTC](https://forums.unrealengine.com/t/material-stretching/472794 "2020-10-12T13:37:34Z")

</div>

Hi everyone! Hou could I stretch blue dots to the entire texture (to all corners of the texture) I saw similar functionality in the Photoshop program I have the coordinates of all 4 blue points.

---

## [Scale independent from rotation](https://forums.unrealengine.com/t/scale-independent-from-rotation/446971)

<div class="topic-metadata">

**Author:** [@Hellrunner2k](https://forums.unrealengine.com/u/Hellrunner2k)\
**Replies:** 0\
**Last updated:** [April 10, 2019, 11:15am UTC](https://forums.unrealengine.com/t/scale-independent-from-rotation/446971 "2019-04-10T11:15:24Z")

</div>

Hi… I want to scale an actor independently from it’s rotation. The simpelest attempt was to attach a scene component to another scene component, rotate the child and scale the parent. that did not work. (due to FTransfor…

---

## [Why is Mesh Streaming Distance not working correctly with scaled meshes?](https://forums.unrealengine.com/t/why-is-mesh-streaming-distance-not-working-correctly-with-scaled-meshes/282809)

<div class="topic-metadata">

**Author:** [@bigzer](https://forums.unrealengine.com/u/bigzer)\
**Replies:** 4\
**Last updated:** [December 24, 2018, 2:17am UTC](https://forums.unrealengine.com/t/why-is-mesh-streaming-distance-not-working-correctly-with-scaled-meshes/282809 "2018-12-24T02:17:55Z")

</div>

We have hundreds of meshes from Unity that have been imported in UE4. We changed the Mesh Build Scale to 100 100 100 . Because of that the textures streaming distances are wrong; textures look blurry unless we are realy…

---

## [Anim montage bulk edit group](https://forums.unrealengine.com/t/anim-montage-bulk-edit-group/437649)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_048df7ed1](https://forums.unrealengine.com/u/anonymous_user_048df7ed1)\
**Replies:** 0\
**Last updated:** [November 15, 2018, 12:34am UTC](https://forums.unrealengine.com/t/anim-montage-bulk-edit-group/437649 "2018-11-15T00:34:29Z")

</div>

Is there a way to change the DefaultGroup.DefaultSlot with bulk? cant find it. Thanks.

---

## [Raycasting A 2D Point in the World](https://forums.unrealengine.com/t/raycasting-a-2d-point-in-the-world/425199)

<div class="topic-metadata">

**Author:** [@SysOverdrive](https://forums.unrealengine.com/u/SysOverdrive)\
**Replies:** 2\
**Last updated:** [October 18, 2018, 7:45am UTC](https://forums.unrealengine.com/t/raycasting-a-2d-point-in-the-world/425199 "2018-10-18T07:45:07Z")

</div>

Hi Guys, so I am basically trying to make a plugin for Unreal Engine for the pupil labs HTC Vive device in VR. This device does eyetracking and has as inputs the following Inputs: 2 floats representing the current pos…

---

## [How to use matrices in C++](https://forums.unrealengine.com/t/how-to-use-matrices-in-c/426927)

<div class="topic-metadata">

**Author:** [@B.B.Fresh](https://forums.unrealengine.com/u/B.B.Fresh)\
**Replies:** 4\
**Last updated:** [June 26, 2018, 2:58am UTC](https://forums.unrealengine.com/t/how-to-use-matrices-in-c/426927 "2018-06-26T02:58:05Z")

</div>

Please, is there a way to easily define matrices and perform matrix of any size operations in C++? I can’t find any way to do so: seems like FMatrix is only 4x4, seems like TMatrix does not have any operator for operatio…

---

## [Dynamically spawning actors with coordinates: Convert R-hand XYZ (y-up) to L-hand XZY (Z-up)](https://forums.unrealengine.com/t/dynamically-spawning-actors-with-coordinates-convert-r-hand-xyz-y-up-to-l-hand-xzy-z-up/420484)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1cbc21f5](https://forums.unrealengine.com/u/anonymous_user_1cbc21f5)\
**Replies:** 0\
**Last updated:** [March 21, 2018, 7:59pm UTC](https://forums.unrealengine.com/t/dynamically-spawning-actors-with-coordinates-convert-r-hand-xyz-y-up-to-l-hand-xzy-z-up/420484 "2018-03-21T19:59:04Z")

</div>

Hello, I’m currently developing an application for which I will need to be able to spawn some actors using coordinates received from an API call. These coordinates are written in a Right-hand XYZ (y-up) coordinate system…

---

## [Exposed camera projection matrix like in Unity?](https://forums.unrealengine.com/t/exposed-camera-projection-matrix-like-in-unity/416318)

<div class="topic-metadata">

**Author:** [@dev100000](https://forums.unrealengine.com/u/dev100000)\
**Replies:** 2\
**Last updated:** [February 3, 2018, 10:04pm UTC](https://forums.unrealengine.com/t/exposed-camera-projection-matrix-like-in-unity/416318 "2018-02-03T22:04:31Z")

</div>

Hi! Is it possible to have the camera projection matrix exposed so that we can use our own matrices to get the “special effects” of our dreams, or to forget gaming for a moment, let UE4 be any useful for applications li…

---

## [Is it possible to do a 13x13 matrix out of letters?](https://forums.unrealengine.com/t/is-it-possible-to-do-a-13x13-matrix-out-of-letters/393492)

<div class="topic-metadata">

**Author:** [@Thalez](https://forums.unrealengine.com/u/Thalez)\
**Replies:** 2\
**Last updated:** [May 14, 2017, 2:16pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-do-a-13x13-matrix-out-of-letters/393492 "2017-05-14T14:16:14Z")

</div>

So my attempt is to make a text/letter based game. When the player scavenges and wants to go to different locations, he will move inside a matrix out of letters. I have seen that before, in an old school styled android g…

---

## [How to construct a 5x2 matrix?](https://forums.unrealengine.com/t/how-to-construct-a-5x2-matrix/381239)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_99ad6a471](https://forums.unrealengine.com/u/anonymous_user_99ad6a471)\
**Replies:** 1\
**Last updated:** [January 9, 2017, 12:46am UTC](https://forums.unrealengine.com/t/how-to-construct-a-5x2-matrix/381239 "2017-01-09T00:46:21Z")

</div>

I want to do a nolinear approximation with matrix calculation, but I can only find a class FMatrix which is 4by4, are there other classes can be used for matrix computation?

---

## [ラジコン移動を作りたい](https://forums.unrealengine.com/t/topic/377530)

<div class="topic-metadata">

**Author:** [@yosikata](https://forums.unrealengine.com/u/yosikata)\
**Replies:** 2\
**Last updated:** [November 29, 2016, 9:04pm UTC](https://forums.unrealengine.com/t/topic/377530 "2016-11-29T21:04:37Z")

</div>

毎度お世話になっています。 ue4でラジコン移動を作成しようと思っているのですが、向きのベクトルなどのとり方がわからず困っています。 あとはその向いている方向に進むができればというところなので・・・・ どなたかわかる方ご教授いただけるとありがたいです。

---

## [VR Desktop - Depth headtracking projection](https://forums.unrealengine.com/t/vr-desktop-depth-headtracking-projection/353297)

<div class="topic-metadata">

**Author:** [@SrGeneroso](https://forums.unrealengine.com/u/SrGeneroso)\
**Replies:** 1\
**Last updated:** [November 16, 2016, 10:37am UTC](https://forums.unrealengine.com/t/vr-desktop-depth-headtracking-projection/353297 "2016-11-16T10:37:38Z")

</div>

Hi, greetings to all. I’m trying to compile thoughts and code about a issue I expect interest a lot of people. There are a lot of concepts involved and please before anything else forgive my poor english and my lack of e…

---

## [Get world position in Vertex shader (HLSL)](https://forums.unrealengine.com/t/get-world-position-in-vertex-shader-hlsl/375798)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c8cdff6f](https://forums.unrealengine.com/u/anonymous_user_c8cdff6f)\
**Replies:** 1\
**Last updated:** [November 13, 2016, 12:08am UTC](https://forums.unrealengine.com/t/get-world-position-in-vertex-shader-hlsl/375798 "2016-11-13T00:08:16Z")

</div>

I’m using Temaran’s UE4 Shader Plugin demo to write a custom Shader in HLSL purely from within C++ / engine code. (but I guess the question should also apply to the custom shader node) When I try to multiply my vertex p…

---

## [Values in inner array resets after leaves set function](https://forums.unrealengine.com/t/values-in-inner-array-resets-after-leaves-set-function/366884)

<div class="topic-metadata">

**Author:** [@talislincoln](https://forums.unrealengine.com/u/talislincoln)\
**Replies:** 1\
**Last updated:** [August 11, 2016, 10:43pm UTC](https://forums.unrealengine.com/t/values-in-inner-array-resets-after-leaves-set-function/366884 "2016-08-11T22:43:53Z")

</div>

Hello, this is my first time posting here, so please let me know if I’m doing something wrong. Scenario: I’m learning UE4 as I’m trying to make a tile map. From what I saw, I’m aware that BP doesn’t have a default matr…

---

## [Are UE4 transforms matrices?](https://forums.unrealengine.com/t/are-ue4-transforms-matrices/322471)

<div class="topic-metadata">

**Author:** [@Asher\_S\_Einhorn](https://forums.unrealengine.com/u/Asher_S_Einhorn)\
**Replies:** 1\
**Last updated:** [July 29, 2015, 11:30am UTC](https://forums.unrealengine.com/t/are-ue4-transforms-matrices/322471 "2015-07-29T11:30:38Z")

</div>

Is a UE4 transform essentially a matrix behind the scenes?

---

## [How can I rotate a triangle around its center?](https://forums.unrealengine.com/t/how-can-i-rotate-a-triangle-around-its-center/326326)

<div class="topic-metadata">

**Author:** [@Thumper](https://forums.unrealengine.com/u/Thumper)\
**Replies:** 1\
**Last updated:** [July 24, 2015, 3:31pm UTC](https://forums.unrealengine.com/t/how-can-i-rotate-a-triangle-around-its-center/326326 "2015-07-24T15:31:02Z")

</div>

I’m having trouble getting an isosceles triangle to orient itself to a vector that is aligned with an axis. It doesn’t matter which axis it’s normal faces, and it doesn’t matter which perpendicular axis the up vertex fa…

---

## [Set Rotation Never Works as Relative/Local](https://forums.unrealengine.com/t/set-rotation-never-works-as-relative-local/318606)

<div class="topic-metadata">

**Author:** [@Meowski](https://forums.unrealengine.com/u/Meowski)\
**Replies:** 7\
**Last updated:** [May 14, 2015, 7:45pm UTC](https://forums.unrealengine.com/t/set-rotation-never-works-as-relative-local/318606 "2015-05-14T19:45:01Z")

</div>

Hi Having a major problem with applying streaming LOCAL rotation data to an Actor. Set Relative Rotation always applies the data as World. Set Rotation also always applies the data as World. Set Transform the same et…

---

## [Rotate Vector around a Point in Local Space](https://forums.unrealengine.com/t/rotate-vector-around-a-point-in-local-space/300300)

<div class="topic-metadata">

**Author:** [@Rumpelstilskin](https://forums.unrealengine.com/u/Rumpelstilskin)\
**Replies:** 3\
**Last updated:** [January 21, 2015, 6:41am UTC](https://forums.unrealengine.com/t/rotate-vector-around-a-point-in-local-space/300300 "2015-01-21T06:41:53Z")

</div>

Hi, I’m trying to modify the spring arm component for my Camera. What Im trying to do is have a front trace so that if the character draws near to a wall, the camera will get closer behind him… So I have a FrontResult…

---

## [Ways to add camera shift](https://forums.unrealengine.com/t/ways-to-add-camera-shift/298728)

<div class="topic-metadata">

**Author:** [@vimaxus](https://forums.unrealengine.com/u/vimaxus)\
**Replies:** 1\
**Last updated:** [November 11, 2014, 2:30pm UTC](https://forums.unrealengine.com/t/ways-to-add-camera-shift/298728 "2014-11-11T14:30:40Z")

</div>

In order to do a correct perspective from a positional tracked POV I need to add camera shift. It seems there is no way to do this and I think the easiest would have been to add 2 parameters to, let’s say a camera actor. …

---

## [Perspective projection matrices not correct?](https://forums.unrealengine.com/t/perspective-projection-matrices-not-correct/282533)

<div class="topic-metadata">

**Author:** [@PurrfectPanda](https://forums.unrealengine.com/u/PurrfectPanda)\
**Replies:** 4\
**Last updated:** [October 9, 2014, 9:17am UTC](https://forums.unrealengine.com/t/perspective-projection-matrices-not-correct/282533 "2014-10-09T09:17:22Z")

</div>

Branch: Both builds from source and prebuilt Build version: Any I have tried, but for example 4.1.0-2053896 Repro Steps In an empty scene, place a cube of size (100, 100, 100) at (0, 0, 0). Place a camera at (100, 0,…

---

## [how can i get rotation between two vectors using only two axis?](https://forums.unrealengine.com/t/how-can-i-get-rotation-between-two-vectors-using-only-two-axis/285548)

<div class="topic-metadata">

**Author:** [@Thumper](https://forums.unrealengine.com/u/Thumper)\
**Replies:** 4\
**Last updated:** [June 11, 2014, 4:32pm UTC](https://forums.unrealengine.com/t/how-can-i-get-rotation-between-two-vectors-using-only-two-axis/285548 "2014-06-11T16:32:27Z")

</div>

I have a vector 0,0,0 - and another that is the character capsule’s location. I need to point the character capsule’s upVector directly at 0,0,0. LookAtRotation seems to use all three axis to get the character capsul…

---

## [Why does my rotator from matrix always faces positive world axes](https://forums.unrealengine.com/t/why-does-my-rotator-from-matrix-always-faces-positive-world-axes/284648)

<div class="topic-metadata">

**Author:** [@Ukkoprkl](https://forums.unrealengine.com/u/Ukkoprkl)\
**Replies:** 13\
**Last updated:** [May 31, 2014, 9:12pm UTC](https://forums.unrealengine.com/t/why-does-my-rotator-from-matrix-always-faces-positive-world-axes/284648 "2014-05-31T21:12:24Z")

</div>

I can’t say whether it’s a bug, feature or if I just don’t get something, but this puzzles me alot. When I create a matrix from a normal vector with FRotationMatrix::MakeFromZ I will get proper matrix where Z points into…

[Next page](https://forums.unrealengine.com/tag/matrix/298.md?match_all_tags=true&page=1&tags%5B%5D=matrix)
