# \#vector

**URL:** https://forums.unrealengine.com/tag/vector/399.md

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

---

## [Camera-dependent inverted movement when walking on ceilings (custom gravity, UE5)](https://forums.unrealengine.com/t/camera-dependent-inverted-movement-when-walking-on-ceilings-custom-gravity-ue5/2684427)

<div class="topic-metadata">

**Author:** [@Waabs](https://forums.unrealengine.com/u/Waabs)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 11:52am UTC](https://forums.unrealengine.com/t/camera-dependent-inverted-movement-when-walking-on-ceilings-custom-gravity-ue5/2684427 "2026-10-21T11:52:54Z")

</div>

Hello everyone, I’ve been working for some time on a system where a character can walk on any surface. The system works well overall, and gravity is correctly computed using line traces. I’m currently facing a major i…

---

## [Problem ,Why component's Forward/Right/Up vector changed in wrong direction while actor rotated ](https://forums.unrealengine.com/t/problem-why-components-forward-right-up-vector-changed-in-wrong-direction-while-actor-rotated/2746368)

<div class="topic-metadata">

**Author:** [@horaceelen](https://forums.unrealengine.com/u/horaceelen)\
**Replies:** 11\
**Last updated:** [August 29, 2026, 1:00am UTC](https://forums.unrealengine.com/t/problem-why-components-forward-right-up-vector-changed-in-wrong-direction-while-actor-rotated/2746368 "2026-08-29T01:00:26Z")

</div>

hi iam new to blueprint , I made a simple actor to show what i met in my programe a blank bp actor , i added two arrow and uncheck the hide in game the two arrow name “idle” and “move” , the “idle” one has no logic ,t…

---

## [Help with Vector parameters ](https://forums.unrealengine.com/t/help-with-vector-parameters/2714687)

<div class="topic-metadata">

**Author:** [@Cuida\_Tu\_Mundo](https://forums.unrealengine.com/u/Cuida_Tu_Mundo)\
**Replies:** 1\
**Last updated:** [April 12, 2026, 12:06am UTC](https://forums.unrealengine.com/t/help-with-vector-parameters/2714687 "2026-04-12T00:06:29Z")

</div>

Hi I’m basically awful at unreal bc I’m studying art but it is mandatory in my course to do some of everything, I need to code it so that like all of the cubes in like a specific group I can change the color of easily. I…

---

## [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…

---

## [SetActorScale3D behaving out of place when applying 1:1000 and vice versa scale?](https://forums.unrealengine.com/t/setactorscale3d-behaving-out-of-place-when-applying-1-1000-and-vice-versa-scale/2701170)

<div class="topic-metadata">

**Author:** [@xx\_pooya\_xx](https://forums.unrealengine.com/u/xx_pooya_xx)\
**Replies:** 0\
**Last updated:** [February 20, 2026, 11:41am UTC](https://forums.unrealengine.com/t/setactorscale3d-behaving-out-of-place-when-applying-1-1000-and-vice-versa-scale/2701170 "2026-02-20T11:41:12Z")

</div>

So we are making a game for our final project in our school in VR. The concept is: 1:1000 scale change of player and time. I am scaling up to environment to make the player ‘tiny’. For 1 → 1000, I do SetActorScale3D(Ge…

---

## [Patrol Location Vector Invalid](https://forums.unrealengine.com/t/patrol-location-vector-invalid/773575)

<div class="topic-metadata">

**Author:** [@Phin\_The\_Platy](https://forums.unrealengine.com/u/Phin_The_Platy)\
**Replies:** 3\
**Last updated:** [February 2, 2026, 3:15pm UTC](https://forums.unrealengine.com/t/patrol-location-vector-invalid/773575 "2026-02-02T15:15:08Z")

</div>

Okay so,long story short im making a behaviour tree for an enemy but it never goes in patrol; i doubt is a nav mesh problem cause in chase and attack he calmly steps upon the said nav mesh. But it doesn’t even consider t…

---

## [Help With Line trace math](https://forums.unrealengine.com/t/help-with-line-trace-math/2687870)

<div class="topic-metadata">

**Author:** [@teradore](https://forums.unrealengine.com/u/teradore)\
**Replies:** 3\
**Last updated:** [January 2, 2026, 4:00am UTC](https://forums.unrealengine.com/t/help-with-line-trace-math/2687870 "2026-01-02T04:00:36Z")

</div>

hello! so I’m working on trying to add line traces that measure things Infront of the camera in an array, when I start the game the rotation of the vector is correct, however I need them to stay in line relative to the c…

---

## [Vector Array to Vector ](https://forums.unrealengine.com/t/vector-array-to-vector/2598648)

<div class="topic-metadata">

**Author:** [@2trivial](https://forums.unrealengine.com/u/2trivial)\
**Replies:** 1\
**Last updated:** [July 9, 2025, 5:06pm UTC](https://forums.unrealengine.com/t/vector-array-to-vector/2598648 "2025-07-09T17:06:13Z")

</div>

I can’t manage for the life of me to convert this to a vector. I have tried Get(a copy), and it still just gets the full array reference. I’m new to UE, and ChatGPT isn’t helping, so I am asking here.

---

## [How to pass dynamic array parameters (Float or Vector) to materials?](https://forums.unrealengine.com/t/how-to-pass-dynamic-array-parameters-float-or-vector-to-materials/787052)

<div class="topic-metadata">

**Author:** [@Podort](https://forums.unrealengine.com/u/Podort)\
**Replies:** 8\
**Last updated:** [February 28, 2025, 4:47pm UTC](https://forums.unrealengine.com/t/how-to-pass-dynamic-array-parameters-float-or-vector-to-materials/787052 "2025-02-28T16:47:07Z")

</div>

Hello, I am trying to pass an array of 30 vectors updated each frame to my unreal materials to be used in a custom HLSL node. I would like to be able to access all these vectors in my material. I think a good similar e…

---

## [Can I use ProjectPointToNavigation in C++?](https://forums.unrealengine.com/t/can-i-use-projectpointtonavigation-in-c/311793)

<div class="topic-metadata">

**Author:** [@jechli\_1](https://forums.unrealengine.com/u/jechli_1)\
**Replies:** 7\
**Last updated:** [January 15, 2025, 9:14pm UTC](https://forums.unrealengine.com/t/can-i-use-projectpointtonavigation-in-c/311793 "2025-01-15T21:14:06Z")

</div>

I’m just wondering if there is a C++ version of the blueprint function ProjectPointToNavigation. I’ve gone through the list of functions that a vector uses and PointPlaneProject is probably the closest to what I want to …

---

## [Costless transfer of a std::vector\<T\>'s data to a TArray\<T\>.](https://forums.unrealengine.com/t/costless-transfer-of-a-std-vector-t-s-data-to-a-tarray-t/2124316)

<div class="topic-metadata">

**Author:** [@OctoberIC](https://forums.unrealengine.com/u/OctoberIC)\
**Replies:** 0\
**Last updated:** [November 15, 2024, 9:54am UTC](https://forums.unrealengine.com/t/costless-transfer-of-a-std-vector-t-s-data-to-a-tarray-t/2124316 "2024-11-15T09:54:51Z")

</div>

When working with external libraries, one often has to cast from C++ types to Unreal Engine types with the exact same binary representation. Here for instance, boost::geometry’s point\_xy and FVector2D. I don’t see why th…

---

## [How to scale along non X,Y, or Z direction](https://forums.unrealengine.com/t/how-to-scale-along-non-x-y-or-z-direction/324926)

<div class="topic-metadata">

**Author:** [@Marthius\_1](https://forums.unrealengine.com/u/Marthius_1)\
**Replies:** 7\
**Last updated:** [August 30, 2024, 1:08pm UTC](https://forums.unrealengine.com/t/how-to-scale-along-non-x-y-or-z-direction/324926 "2024-08-30T13:08:17Z")

</div>

I need to make an object (simple sphere) scale along a non-cardinal direction. This is not the same as simply scaling along a combination of directions. For example, scaling along a vector half way between the x and y …

---

## [How to find the middle point between two vectors](https://forums.unrealengine.com/t/how-to-find-the-middle-point-between-two-vectors/311198)

<div class="topic-metadata">

**Author:** [@Zedrophobe](https://forums.unrealengine.com/u/Zedrophobe)\
**Replies:** 11\
**Last updated:** [July 19, 2024, 9:52am UTC](https://forums.unrealengine.com/t/how-to-find-the-middle-point-between-two-vectors/311198 "2024-07-19T09:52:41Z")

</div>

Hi, I’m trying to understand exactly how the trace by box works. I can make it work when I just input the values. I assume it works by taking the center of the box, start and end and then adding the size (half size valu…

---

## [Why is world location of bone not working right?](https://forums.unrealengine.com/t/why-is-world-location-of-bone-not-working-right/1916851)

<div class="topic-metadata">

**Author:** [@Cestarian](https://forums.unrealengine.com/u/Cestarian)\
**Replies:** 2\
**Last updated:** [June 26, 2024, 11:59pm UTC](https://forums.unrealengine.com/t/why-is-world-location-of-bone-not-working-right/1916851 "2024-06-26T23:59:04Z")

</div>

Using this very simple code with a physics handle, i’m trying to position an object so that it is always in the same world position relative to the bone’s world position: And this is the result… The object actuall…

---

## [Character only moves in one direction along spline](https://forums.unrealengine.com/t/character-only-moves-in-one-direction-along-spline/1889783)

<div class="topic-metadata">

**Author:** [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Replies:** 1\
**Last updated:** [June 4, 2024, 9:22pm UTC](https://forums.unrealengine.com/t/character-only-moves-in-one-direction-along-spline/1889783 "2024-06-04T21:22:11Z")

</div>

I am creating a rail that the player can jump on, somewhat similar to grinding rails in THPS. Currently the blueprint forces the player from the landing point to the end of the rail, but I would like for the player to be…

---

## [How Look at Rotation really works?!](https://forums.unrealengine.com/t/how-look-at-rotation-really-works/1849399)

<div class="topic-metadata">

**Author:** [@DD\_Victor](https://forums.unrealengine.com/u/DD_Victor)\
**Replies:** 6\
**Last updated:** [May 29, 2024, 9:13am UTC](https://forums.unrealengine.com/t/how-look-at-rotation-really-works/1849399 "2024-05-29T09:13:31Z")

</div>

Hey devs I’ve been trying to understand rotations it’s been so long and so far I still have no clue how it works. I have this very simple code on my BP in VR where I have a sphere collision on the motion controller and…

---

## [How to get perpendicular angle to vector?](https://forums.unrealengine.com/t/how-to-get-perpendicular-angle-to-vector/489824)

<div class="topic-metadata">

**Author:** [@Yaklakootmaa2](https://forums.unrealengine.com/u/Yaklakootmaa2)\
**Replies:** 4\
**Last updated:** [May 18, 2024, 3:29pm UTC](https://forums.unrealengine.com/t/how-to-get-perpendicular-angle-to-vector/489824 "2024-05-18T15:29:58Z")

</div>

Is there a way to calculate the perpendicular angle to some vector? As a rotation axis, it will be Z

---

## [How to get an angle between 2 Vectors?](https://forums.unrealengine.com/t/how-to-get-an-angle-between-2-vectors/280850)

<div class="topic-metadata">

**Author:** [@Demonicated](https://forums.unrealengine.com/u/Demonicated)\
**Replies:** 42\
**Last updated:** [May 8, 2024, 1:32pm UTC](https://forums.unrealengine.com/t/how-to-get-an-angle-between-2-vectors/280850 "2024-05-08T13:32:00Z")

</div>

Is there a built in function to find the angle between 2 points (2D and 3D) for HUD and World? I love SOH CAH TOA, but l love clean code/blueprints more

---

## [Importing Vectors into Data Tables](https://forums.unrealengine.com/t/importing-vectors-into-data-tables/307970)

<div class="topic-metadata">

**Author:** [@DrVonTischler](https://forums.unrealengine.com/u/DrVonTischler)\
**Replies:** 5\
**Last updated:** [April 13, 2024, 3:06pm UTC](https://forums.unrealengine.com/t/importing-vectors-into-data-tables/307970 "2024-04-13T15:06:19Z")

</div>

Hi All, I’m struggling to import vector and transform data types from csv into data tables. I can’ seem to work out how the entry should be parsed. When an empty table is imported is comes up as: AVectorType: (X=0.000…

---

## [Value fields for BP input pins that are const ref Vectors in C++](https://forums.unrealengine.com/t/value-fields-for-bp-input-pins-that-are-const-ref-vectors-in-c/1797294)

<div class="topic-metadata">

**Author:** [@randomAcd](https://forums.unrealengine.com/u/randomAcd)\
**Replies:** 0\
**Last updated:** [April 10, 2024, 3:26pm UTC](https://forums.unrealengine.com/t/value-fields-for-bp-input-pins-that-are-const-ref-vectors-in-c/1797294 "2024-04-10T15:26:30Z")

</div>

Hi, I would like to suggest to make it possible to enter Vector (and possibly other types that are affected) values directly into a BP node input pin that is the pin of a const ref (Vector) of a C++ function. The way i…

---

## [STL within headers of third party library in UE5](https://forums.unrealengine.com/t/stl-within-headers-of-third-party-library-in-ue5/1315472)

<div class="topic-metadata">

**Author:** [@Ediolot](https://forums.unrealengine.com/u/Ediolot)\
**Replies:** 1\
**Last updated:** [March 20, 2024, 6:03am UTC](https://forums.unrealengine.com/t/stl-within-headers-of-third-party-library-in-ue5/1315472 "2024-03-20T06:03:00Z")

</div>

Hello ! I have been reading some posts regarding the use of STL vector and other containers and I have seen that it is generally unsafe to use them inside UE5. However, if you where to use a third party library inside …

---

## [Construction Script causes actor to only move up](https://forums.unrealengine.com/t/construction-script-causes-actor-to-only-move-up/1748405)

<div class="topic-metadata">

**Author:** [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Replies:** 1\
**Last updated:** [March 12, 2024, 11:16pm UTC](https://forums.unrealengine.com/t/construction-script-causes-actor-to-only-move-up/1748405 "2024-03-12T23:16:37Z")

</div>

In my construction script, I need to set an object onto a custom grid, which is done by the function Location to Grid, and then move that location up 46 on the Z axis. For some reason, this makes it so that when I move a…

---

## [How can I set a local offset for an actor that's rotated around it's parent?](https://forums.unrealengine.com/t/how-can-i-set-a-local-offset-for-an-actor-thats-rotated-around-its-parent/1719998)

<div class="topic-metadata">

**Author:** [@BF-Frederic](https://forums.unrealengine.com/u/BF-Frederic)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 9:08am UTC](https://forums.unrealengine.com/t/how-can-i-set-a-local-offset-for-an-actor-thats-rotated-around-its-parent/1719998 "2024-02-29T09:08:41Z")

</div>

I’ve got the following Blueprint logic setup to offset a target component on it’s X and Z axes. “Hand Focus” is parented to the Actor. I then use the Vector + to add the analog stick input to the location of the hand foc…

---

## [Maintaining Relative Vector Sphere Position Relative to Rotating/Moving Camera](https://forums.unrealengine.com/t/maintaining-relative-vector-sphere-position-relative-to-rotating-moving-camera/1688914)

<div class="topic-metadata">

**Author:** [@Q-18S](https://forums.unrealengine.com/u/Q-18S)\
**Replies:** 0\
**Last updated:** [February 14, 2024, 7:03pm UTC](https://forums.unrealengine.com/t/maintaining-relative-vector-sphere-position-relative-to-rotating-moving-camera/1688914 "2024-02-14T19:03:16Z")

</div>

Hello, to preface i have been using the “predict projectile path param” node to dot out the location of sphere traces for a detection system, this is shot out from the player cameras forward vector and forms an arc by ge…

---

## [Calculate left or right of wall](https://forums.unrealengine.com/t/calculate-left-or-right-of-wall/475471)

<div class="topic-metadata">

**Author:** [@NorthWeapon](https://forums.unrealengine.com/u/NorthWeapon)\
**Replies:** 3\
**Last updated:** [February 10, 2024, 8:12am UTC](https://forums.unrealengine.com/t/calculate-left-or-right-of-wall/475471 "2024-02-10T08:12:51Z")

</div>

May not be 100% precise example but see if this gets you any closer:

---

## [Add impulse to the direction my character is facing?](https://forums.unrealengine.com/t/add-impulse-to-the-direction-my-character-is-facing/465908)

<div class="topic-metadata">

**Author:** [@Espinosal2020](https://forums.unrealengine.com/u/Espinosal2020)\
**Replies:** 2\
**Last updated:** [January 30, 2024, 6:12pm UTC](https://forums.unrealengine.com/t/add-impulse-to-the-direction-my-character-is-facing/465908 "2024-01-30T18:12:09Z")

</div>

I have my camera always facing a ball inside my character blueprint, and I want to give it a forward/upward impulse, in the direction my camera if facing, but I don’t know how to make the facing camera direction the forw…

---

## [How do I find the vector behind and 45 deg bellow player](https://forums.unrealengine.com/t/how-do-i-find-the-vector-behind-and-45-deg-bellow-player/358924)

<div class="topic-metadata">

**Author:** [@TMGL16](https://forums.unrealengine.com/u/TMGL16)\
**Replies:** 2\
**Last updated:** [December 19, 2023, 12:08pm UTC](https://forums.unrealengine.com/t/how-do-i-find-the-vector-behind-and-45-deg-bellow-player/358924 "2023-12-19T12:08:23Z")

</div>

I am new to the engine and have so far been able to figure out everything from the forums and stuff. But I couldn’t find an answer to this one anywhere. What I want to do is run a line trace from my players current posit…

---

## [Vector Timeline Slow down new time?](https://forums.unrealengine.com/t/vector-timeline-slow-down-new-time/1537525)

<div class="topic-metadata">

**Author:** [@tVythan](https://forums.unrealengine.com/u/tVythan)\
**Replies:** 1\
**Last updated:** [December 19, 2023, 10:46am UTC](https://forums.unrealengine.com/t/vector-timeline-slow-down-new-time/1537525 "2023-12-19T10:46:59Z")

</div>

I have a timeline vector raising a simple platform after a collision event. I want to make it go down slower by changing the time when the off collision event occurs, because currently when I jump up, it goes down too f…

---

## [How do I find a location between two vectors?](https://forums.unrealengine.com/t/how-do-i-find-a-location-between-two-vectors/381387)

<div class="topic-metadata">

**Author:** [@Mewbits](https://forums.unrealengine.com/u/Mewbits)\
**Replies:** 4\
**Last updated:** [December 11, 2023, 6:01am UTC](https://forums.unrealengine.com/t/how-do-i-find-a-location-between-two-vectors/381387 "2023-12-11T06:01:24Z")

</div>

I want to find a point (as a vector) between two vectors based on a float value between 0 and 1? How do I find that point? The value between 0 and 1 will be derived from a timeline. I tried this but it did not work: …

---

## [Making player head rotate to the direction the camera is facing](https://forums.unrealengine.com/t/making-player-head-rotate-to-the-direction-the-camera-is-facing/1470099)

<div class="topic-metadata">

**Author:** [@ChristianWickstr](https://forums.unrealengine.com/u/ChristianWickstr)\
**Replies:** 2\
**Last updated:** [December 5, 2023, 12:38am UTC](https://forums.unrealengine.com/t/making-player-head-rotate-to-the-direction-the-camera-is-facing/1470099 "2023-12-05T00:38:46Z")

</div>

I want to rotate the player’s head to the direction the camera is facing. How can I take account for the forward vector when I rotate the head? I have tried “Rotation From X Vector” and other solutions, but I’m stuck. T…

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