# \#direction

**URL:** https://forums.unrealengine.com/tag/direction/1584.md

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

---

## [Align Niagara particle by velocity direction](https://forums.unrealengine.com/t/align-niagara-particle-by-velocity-direction/475473)

<div class="topic-metadata">

**Author:** [@CGough](https://forums.unrealengine.com/u/CGough)\
**Replies:** 6\
**Last updated:** [September 11, 2023, 6:15am UTC](https://forums.unrealengine.com/t/align-niagara-particle-by-velocity-direction/475473 "2023-09-11T06:15:53Z")

</div>

Hi all, it’s a simple question but I’m only finding results for the cascade particle system and not Niagara, How can you align a particle by the direction a particle is traveling? ideally if my particles were arrows the…

---

## [Changing angle of linetrace](https://forums.unrealengine.com/t/changing-angle-of-linetrace/463076)

<div class="topic-metadata">

**Author:** [@OniricMaster](https://forums.unrealengine.com/u/OniricMaster)\
**Replies:** 3\
**Last updated:** [October 6, 2024, 2:04pm UTC](https://forums.unrealengine.com/t/changing-angle-of-linetrace/463076 "2024-10-06T14:04:22Z")

</div>

Hello, so Im currently working on a basic zombie shooter game. Im trying to create a basic shotgun that creates 3 line traces, One Forward and then TWO to each side. Here an image to better visualize. Ive manged to g…

---

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

---

## [Walking straight backwards with "s" causing animation to stutter](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fe44a3cf](https://forums.unrealengine.com/u/anonymous_user_fe44a3cf)\
**Replies:** 35\
**Last updated:** [June 20, 2024, 5:59pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288 "2024-06-20T17:59:22Z")

</div>

For some reason when I walk backwards with “S”, my character’s animation stutters left and right. Also, if while I am walking backwards, I move my mouse left or right, the animation orients itself to where I am rotating …

---

## [Gradient on mesh (plane) from edge in a given direction](https://forums.unrealengine.com/t/gradient-on-mesh-plane-from-edge-in-a-given-direction/1715154)

<div class="topic-metadata">

**Author:** [@ShiftyBach](https://forums.unrealengine.com/u/ShiftyBach)\
**Replies:** 2\
**Last updated:** [February 27, 2024, 1:00pm UTC](https://forums.unrealengine.com/t/gradient-on-mesh-plane-from-edge-in-a-given-direction/1715154 "2024-02-27T13:00:05Z")

</div>

Im looking to mask a mesh plane based on an input vector direction. I want the gradient to begin at the edge of the mesh and fade across/inward. See examples. Is this possible with some UV trick? e.g. like a lin…

---

## [Walking backwards animation issue](https://forums.unrealengine.com/t/walking-backwards-animation-issue/1707274)

<div class="topic-metadata">

**Author:** [@Xx\_SigmaZ\_xX](https://forums.unrealengine.com/u/Xx_SigmaZ_xX)\
**Replies:** 1\
**Last updated:** [February 24, 2024, 10:06am UTC](https://forums.unrealengine.com/t/walking-backwards-animation-issue/1707274 "2024-02-24T10:06:15Z")

</div>

So, I made animations for character via state machine. Everyting works just fine and smooth until it comes to walking backwards. While walking backwards, whenever I slighly move my mouse the animation will abruptly swit…

---

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

---

## [Decal alignment problem](https://forums.unrealengine.com/t/decal-alignment-problem/300826)

<div class="topic-metadata">

**Author:** [@Devero](https://forums.unrealengine.com/u/Devero)\
**Replies:** 10\
**Last updated:** [January 16, 2024, 9:39pm UTC](https://forums.unrealengine.com/t/decal-alignment-problem/300826 "2024-01-16T21:39:08Z")

</div>

Hi, I want to by using blueprints align my decal when placing them based off of the hit surface impact normal. In this pic you can see that I have it working good while hitting the floor. The decal should be in the …

---

## [Make AI move in a certain direction](https://forums.unrealengine.com/t/make-ai-move-in-a-certain-direction/472614)

<div class="topic-metadata">

**Author:** [@Pseudocorpus](https://forums.unrealengine.com/u/Pseudocorpus)\
**Replies:** 6\
**Last updated:** [December 21, 2023, 10:26pm UTC](https://forums.unrealengine.com/t/make-ai-move-in-a-certain-direction/472614 "2023-12-21T22:26:41Z")

</div>

I know that I can make an AI Character move to a certain location with the “AI MoveTo”-Node but is there a way to just say “move to direction”, maybe with a vector input for the direction the character should move, to ma…

---

## [How do I keep my character facing the enemy while he is attacking it?](https://forums.unrealengine.com/t/how-do-i-keep-my-character-facing-the-enemy-while-he-is-attacking-it/327690)

<div class="topic-metadata">

**Author:** [@TBrooks27](https://forums.unrealengine.com/u/TBrooks27)\
**Replies:** 3\
**Last updated:** [November 10, 2023, 2:54pm UTC](https://forums.unrealengine.com/t/how-do-i-keep-my-character-facing-the-enemy-while-he-is-attacking-it/327690 "2023-11-10T14:54:46Z")

</div>

I have my combat set up to where the enemy is clicked and my character walks over and as soon as he enters a box collision trigger, a timer starts that deals damage every second to each other. I just need to make my char…

---

## [Transform direction bug with mirrored objects](https://forums.unrealengine.com/t/transform-direction-bug-with-mirrored-objects/383299)

<div class="topic-metadata">

**Author:** [@Davision](https://forums.unrealengine.com/u/Davision)\
**Replies:** 8\
**Last updated:** [October 6, 2023, 1:39am UTC](https://forums.unrealengine.com/t/transform-direction-bug-with-mirrored-objects/383299 "2023-10-06T01:39:03Z")

</div>

Here the Actor is mirrored with scale: 1,-1,1. The resulting transform direction is wrong while it works fine when the actor is not mirrored. It is also wrong when it is -1,-1,-1 which seems to invert just all directions…

---

## [Why is my 3rd person character not rotating during delta direction?](https://forums.unrealengine.com/t/why-is-my-3rd-person-character-not-rotating-during-delta-direction/347102)

<div class="topic-metadata">

**Author:** [@nmm131](https://forums.unrealengine.com/u/nmm131)\
**Replies:** 3\
**Last updated:** [June 9, 2023, 7:37pm UTC](https://forums.unrealengine.com/t/why-is-my-3rd-person-character-not-rotating-during-delta-direction/347102 "2023-06-09T19:37:44Z")

</div>

Hi, I’ve been looking at the Locomotion & AimOffset Owen in the Docs, I replicated it with a custom character mesh and skeleton but my direction is not updating. WASD will move in that direction (locomotion blendspace),…

---

## [任意のz軸の方向でオブジェクトの傾きを求めたい](https://forums.unrealengine.com/t/z/661387)

<div class="topic-metadata">

**Author:** [@turbotanaka](https://forums.unrealengine.com/u/turbotanaka)\
**Replies:** 2\
**Last updated:** [October 4, 2022, 6:37am UTC](https://forums.unrealengine.com/t/z/661387 "2022-10-04T06:37:56Z")

</div>

オブジェクトが水平から何度傾いているかを任意のZ軸から求めたいのですがどうすれば良いでしょうか。例えばXに50度、Yに30度傾いている物体が、Z軸で70度の所では水平からn度傾いている、といった具合です。

---

## [How to apply velocity via Forward Vector in any direction](https://forums.unrealengine.com/t/how-to-apply-velocity-via-forward-vector-in-any-direction/314607)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2701b401](https://forums.unrealengine.com/u/anonymous_user_2701b401)\
**Replies:** 3\
**Last updated:** [September 5, 2022, 7:12am UTC](https://forums.unrealengine.com/t/how-to-apply-velocity-via-forward-vector-in-any-direction/314607 "2022-09-05T07:12:33Z")

</div>

When the BP applies velocity it only applies it in the X-axis. So if i’m facing the other way the velocity will push me backwards instead. How do I change this so it works regardless of rotation? I assumed velocity was h…

---

## [How to move an actor to vectorA - 200 units towards vector B? (Picture included.)](https://forums.unrealengine.com/t/how-to-move-an-actor-to-vectora-200-units-towards-vector-b-picture-included/388931)

<div class="topic-metadata">

**Author:** [@JerichoBLT](https://forums.unrealengine.com/u/JerichoBLT)\
**Replies:** 5\
**Last updated:** [February 5, 2022, 9:42pm UTC](https://forums.unrealengine.com/t/how-to-move-an-actor-to-vectora-200-units-towards-vector-b-picture-included/388931 "2022-02-05T21:42:43Z")

</div>

---

## [Character rotating into ground on specific animation](https://forums.unrealengine.com/t/character-rotating-into-ground-on-specific-animation/491608)

<div class="topic-metadata">

**Author:** [@Capmare](https://forums.unrealengine.com/u/Capmare)\
**Replies:** 0\
**Last updated:** [December 4, 2021, 9:51pm UTC](https://forums.unrealengine.com/t/character-rotating-into-ground-on-specific-animation/491608 "2021-12-04T21:51:39Z")

</div>

Here is a link to a video with the problem: it only happens on specific animations, when walking on any direction: the skeleton was retargeted to the base skeleton, every animation works except those …

---

## [How do i calculate the direction of my pawn in the anim instance (c++)?](https://forums.unrealengine.com/t/how-do-i-calculate-the-direction-of-my-pawn-in-the-anim-instance-c/490240)

<div class="topic-metadata">

**Author:** [@C\_pr\_Arr\_bbi\_t](https://forums.unrealengine.com/u/C_pr_Arr_bbi_t)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 7:39pm UTC](https://forums.unrealengine.com/t/how-do-i-calculate-the-direction-of-my-pawn-in-the-anim-instance-c/490240 "2021-10-25T19:39:21Z")

</div>

How can i calculate the direction of the Pawn in my anim instance? (c++)

---

## [Character change direction smoothly](https://forums.unrealengine.com/t/character-change-direction-smoothly/446426)

<div class="topic-metadata">

**Author:** [@Animism](https://forums.unrealengine.com/u/Animism)\
**Replies:** 9\
**Last updated:** [September 10, 2021, 2:52am UTC](https://forums.unrealengine.com/t/character-change-direction-smoothly/446426 "2021-09-10T02:52:47Z")

</div>

Hi! I’m making a game where I want the movement to be smooth. I want to be able to play with a gamepad, have it so that if I’m running forward and press backwards, the character instantly turns (for some reason in UE4 …

---

## [Shooting projectiles in random directions when mouse cursor overlaps player?](https://forums.unrealengine.com/t/shooting-projectiles-in-random-directions-when-mouse-cursor-overlaps-player/485514)

<div class="topic-metadata">

**Author:** [@SyntheticLove](https://forums.unrealengine.com/u/SyntheticLove)\
**Replies:** 4\
**Last updated:** [June 29, 2021, 11:46am UTC](https://forums.unrealengine.com/t/shooting-projectiles-in-random-directions-when-mouse-cursor-overlaps-player/485514 "2021-06-29T11:46:47Z")

</div>

I’ve attempted to do this in many different ways but to no Avail The projectile usually hits the ground underneath the player I’m currently using a slightly modified Twin Stick shooter template if that helps.

---

## [I have a problem with a direction change](https://forums.unrealengine.com/t/i-have-a-problem-with-a-direction-change/482158)

<div class="topic-metadata">

**Author:** [@loller97](https://forums.unrealengine.com/u/loller97)\
**Replies:** 7\
**Last updated:** [April 21, 2021, 10:08am UTC](https://forums.unrealengine.com/t/i-have-a-problem-with-a-direction-change/482158 "2021-04-21T10:08:10Z")

</div>

Ok, how about the cylinder actually taking control? It already changes the collision on the ball. Could it also pull the ball in using a timeline?

---

## [Aimoffset+ rotating on place ( bad aiming )](https://forums.unrealengine.com/t/aimoffset-rotating-on-place-bad-aiming/481736)

<div class="topic-metadata">

**Author:** [@SwoBii\_CZ](https://forums.unrealengine.com/u/SwoBii_CZ)\
**Replies:** 0\
**Last updated:** [April 11, 2021, 5:35am UTC](https://forums.unrealengine.com/t/aimoffset-rotating-on-place-bad-aiming/481736 "2021-04-11T05:35:01Z")

</div>

Hello, i have little problem. I tried setup my “gunplay” but not too good. I was looking for a lot of HELP Questions but nothing to help solve my problem. So my character is rotating to crosshair but not synchronized… S…

---

## [Actors rotation doesn't match the set rotator value](https://forums.unrealengine.com/t/actors-rotation-doesnt-match-the-set-rotator-value/481594)

<div class="topic-metadata">

**Author:** [@Brandon236](https://forums.unrealengine.com/u/Brandon236)\
**Replies:** 0\
**Last updated:** [April 10, 2021, 12:49pm UTC](https://forums.unrealengine.com/t/actors-rotation-doesnt-match-the-set-rotator-value/481594 "2021-04-10T12:49:30Z")

</div>

I have a blueprint that allows me to rotate an actor in a specific direction. It works by saving the actor’s current rotation and the new rotation to a variable and then doing a lerp between the two. This actor is al…

---

## [Calculate Spin Direction Mid Air](https://forums.unrealengine.com/t/calculate-spin-direction-mid-air/481558)

<div class="topic-metadata">

**Author:** [@guymakingdata](https://forums.unrealengine.com/u/guymakingdata)\
**Replies:** 5\
**Last updated:** [April 7, 2021, 9:49pm UTC](https://forums.unrealengine.com/t/calculate-spin-direction-mid-air/481558 "2021-04-07T21:49:34Z")

</div>

How would I go about calculating a characters spin direction mid air? I’d like to get a float value based on if the character is rotating left or right so I can apply it to a blend space to have the character look in th…

---

## [How to rotate an object in a specific direction?](https://forums.unrealengine.com/t/how-to-rotate-an-object-in-a-specific-direction/481521)

<div class="topic-metadata">

**Author:** [@Brandon236](https://forums.unrealengine.com/u/Brandon236)\
**Replies:** 1\
**Last updated:** [April 7, 2021, 10:39am UTC](https://forums.unrealengine.com/t/how-to-rotate-an-object-in-a-specific-direction/481521 "2021-04-07T10:39:59Z")

</div>

Let’s say I have a cube at rotation 0,0,0 and then let’s say I rotate that cube forward in the X direction. Afterwards, the cube will be at rotation 90,0,0. If I try to rotate a cube forward in the Y direction first, its…

---

## [Get relative movement](https://forums.unrealengine.com/t/get-relative-movement/476464)

<div class="topic-metadata">

**Author:** [@Blade-90](https://forums.unrealengine.com/u/Blade-90)\
**Replies:** 0\
**Last updated:** [December 27, 2020, 7:55pm UTC](https://forums.unrealengine.com/t/get-relative-movement/476464 "2020-12-27T19:55:47Z")

</div>

What I want to get: Player is facing North and moving North = 0. Player is facing North, but pushed to his left (West in that case), therefore -90 (right: 90). Player is facing North but he is moving/being pushed back…

---

## [when looking at 180 my fps drops](https://forums.unrealengine.com/t/when-looking-at-180-my-fps-drops/473688)

<div class="topic-metadata">

**Author:** [@BercouIi](https://forums.unrealengine.com/u/BercouIi)\
**Replies:** 14\
**Last updated:** [November 3, 2020, 8:32pm UTC](https://forums.unrealengine.com/t/when-looking-at-180-my-fps-drops/473688 "2020-11-03T20:32:18Z")

</div>

did you customized your character?

---

## [Bounce actor to a sphere at any point](https://forums.unrealengine.com/t/bounce-actor-to-a-sphere-at-any-point/472745)

<div class="topic-metadata">

**Author:** [@t1n1n](https://forums.unrealengine.com/u/t1n1n)\
**Replies:** 2\
**Last updated:** [October 11, 2020, 12:11pm UTC](https://forums.unrealengine.com/t/bounce-actor-to-a-sphere-at-any-point/472745 "2020-10-11T12:11:26Z")

</div>

Hello, i am trying to make a marker (cone) which does continously bounce (simulated) from a sphere. The problem is that the cone is rotated to lookAt the sphere previously and if i try to move the cone through an axis …

---

## [Rotate an towards object velocity direction](https://forums.unrealengine.com/t/rotate-an-towards-object-velocity-direction/470840)

<div class="topic-metadata">

**Author:** [@Kwixb](https://forums.unrealengine.com/u/Kwixb)\
**Replies:** 2\
**Last updated:** [September 5, 2020, 5:12am UTC](https://forums.unrealengine.com/t/rotate-an-towards-object-velocity-direction/470840 "2020-09-05T05:12:02Z")

</div>

Hello! I am looking for a way to rotate an object toward the velocity direction. Essentially, I have an object that I am throwing in VR and I want to point the top (Up Vector) of the object in the direction it is traveli…

---

## [Set Plane Contraint to only allow diagonal directions](https://forums.unrealengine.com/t/set-plane-contraint-to-only-allow-diagonal-directions/469407)

<div class="topic-metadata">

**Author:** [@MStory](https://forums.unrealengine.com/u/MStory)\
**Replies:** 0\
**Last updated:** [August 8, 2020, 1:38pm UTC](https://forums.unrealengine.com/t/set-plane-contraint-to-only-allow-diagonal-directions/469407 "2020-08-08T13:38:26Z")

</div>

Having issues with setting plane constraints and moving diagonally along said planes. I want to replicate Super Mario Sunshine’s tightrope walking mechanics. I have most of the code working well but the problem arises w…

---

## [Play Different Animation based on players position to enemy](https://forums.unrealengine.com/t/play-different-animation-based-on-players-position-to-enemy/469148)

<div class="topic-metadata">

**Author:** [@The\_Alpha\_Maiestro](https://forums.unrealengine.com/u/The_Alpha_Maiestro)\
**Replies:** 0\
**Last updated:** [August 4, 2020, 3:44am UTC](https://forums.unrealengine.com/t/play-different-animation-based-on-players-position-to-enemy/469148 "2020-08-04T03:44:18Z")

</div>

Currently working on a boss enemy and wanted it to have more life to its movements. Looking for a method in blueprint or behavior to play turn around animations based on the players position to the AI. For example, if th…

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