# C++

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/c-programming/29.md?page=66

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

**Page:** 67

---

## [Gameplay attributes are not clamped and have higher values internally.](https://forums.unrealengine.com/t/gameplay-attributes-are-not-clamped-and-have-higher-values-internally/2153274)

<div class="topic-metadata">

**Author:** [@Youshisu](https://forums.unrealengine.com/u/Youshisu)\
**Replies:** 2\
**Last updated:** [December 4, 2024, 8:50pm UTC](https://forums.unrealengine.com/t/gameplay-attributes-are-not-clamped-and-have-higher-values-internally/2153274 "2024-12-04T20:50:59Z")

</div>

When I refill mana by 100 points(with gameplay effect) . On my Hud I still see 100, but internally character has more and it keeps 100 until falls below 100 so I can actually see changes. Where do I clamp values properl…

---

## [Install Source version Unreal Engine to Epic Games Launcher in windows 10](https://forums.unrealengine.com/t/install-source-version-unreal-engine-to-epic-games-launcher-in-windows-10/1859802)

<div class="topic-metadata">

**Author:** [@franklzt](https://forums.unrealengine.com/u/franklzt)\
**Replies:** 2\
**Last updated:** [December 4, 2024, 4:42pm UTC](https://forums.unrealengine.com/t/install-source-version-unreal-engine-to-epic-games-launcher-in-windows-10/1859802 "2024-12-04T16:42:00Z")

</div>

Install Source version Unreal Engine to Epic Games Launcher in windows 10 How Launcher verify engine installation? The answer is one folder and one file, the folder is” .egstore” folder, the one file is UE4Editor.exe. …

---

## [Gauntlet How to use Custom GameMode](https://forums.unrealengine.com/t/gauntlet-how-to-use-custom-gamemode/477858)

<div class="topic-metadata">

**Author:** [@Helghast](https://forums.unrealengine.com/u/Helghast)\
**Replies:** 2\
**Last updated:** [December 3, 2024, 9:43pm UTC](https://forums.unrealengine.com/t/gauntlet-how-to-use-custom-gamemode/477858 "2024-12-03T21:43:40Z")

</div>

I am using Gauntlet for automated tests. But I have come up with launching a map with a clean gamemode, such as the GameModeBase. \[link text\]\[1\] The problem this is the command to launch maps with a specific gamemode: …

---

## [Rotation for SpringArm to different Rotation without Gimbol Lock](https://forums.unrealengine.com/t/rotation-for-springarm-to-different-rotation-without-gimbol-lock/2167568)

<div class="topic-metadata">

**Author:** [@johnp0107](https://forums.unrealengine.com/u/johnp0107)\
**Replies:** 0\
**Last updated:** [December 3, 2024, 5:23pm UTC](https://forums.unrealengine.com/t/rotation-for-springarm-to-different-rotation-without-gimbol-lock/2167568 "2024-12-03T17:23:14Z")

</div>

Hello, I am currently having an issue rotating my Spring Arm and Camera. The issue is I am trying to update the Pitch of my springarm to match the pitch of the Direction of 1 Vector facing the other. Basicly I am worki…

---

## [Runtime skeletal mesh load](https://forums.unrealengine.com/t/runtime-skeletal-mesh-load/273490)

<div class="topic-metadata">

**Author:** [@nsdfxela](https://forums.unrealengine.com/u/nsdfxela)\
**Replies:** 20\
**Last updated:** [December 3, 2024, 3:40pm UTC](https://forums.unrealengine.com/t/runtime-skeletal-mesh-load/273490 "2024-12-03T15:40:08Z")

</div>

Hello! We are creating avatars for Metaverse (avatarsdk.com), and we usually need to load avatars at runtime to a scene. E.g it is required for AR\\VR conferences when we need to add a new unique avatar for a new partici…

---

## [Should I use the default capsule collision components for hitboxes?](https://forums.unrealengine.com/t/should-i-use-the-default-capsule-collision-components-for-hitboxes/2167038)

<div class="topic-metadata">

**Author:** [@Phteven28](https://forums.unrealengine.com/u/Phteven28)\
**Replies:** 12\
**Last updated:** [December 3, 2024, 1:27pm UTC](https://forums.unrealengine.com/t/should-i-use-the-default-capsule-collision-components-for-hitboxes/2167038 "2024-12-03T13:27:45Z")

</div>

Hey, I have a character set up using collision capsule components attached to all the relevant parent sockets to make a somewhat accurate hitbox for weapons etc. I couldn’t find anything on this topic but are the defaul…

---

## [Scene-wide pre/post Async Physics Tick callback](https://forums.unrealengine.com/t/scene-wide-pre-post-async-physics-tick-callback/2167079)

<div class="topic-metadata">

**Author:** [@HellFireHE](https://forums.unrealengine.com/u/HellFireHE)\
**Replies:** 0\
**Last updated:** [December 3, 2024, 1:23pm UTC](https://forums.unrealengine.com/t/scene-wide-pre-post-async-physics-tick-callback/2167079 "2024-12-03T13:23:10Z")

</div>

For debug purposes I need a callback that would be called between async physics ticks frames. I need to dump a physical state of scene at this moment, so I want to do this after all physical steps happened, with all con…

---

## [Linker Error : FLyraAnimBodyStyleSelectionSet::SelectBestBodyStyle](https://forums.unrealengine.com/t/linker-error-flyraanimbodystyleselectionset-selectbestbodystyle/2165551)

<div class="topic-metadata">

**Author:** [@The\_BHam](https://forums.unrealengine.com/u/The_BHam)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 10:10pm UTC](https://forums.unrealengine.com/t/linker-error-flyraanimbodystyleselectionset-selectbestbodystyle/2165551 "2024-12-02T22:10:40Z")

</div>

UE 5.4.4 source build LyraFramework my code is all within my GameFeatures/MyGame plugin code folders. I am trying to make my own UPawnComponent that duplicates LyraPawnComponent\_CharacterParts. When I try to compile m…

---

## [How to declare and use a SinglePropertyView using a C++ class derived from EditorWidgetUtility?](https://forums.unrealengine.com/t/how-to-declare-and-use-a-singlepropertyview-using-a-c-class-derived-from-editorwidgetutility/2165098)

<div class="topic-metadata">

**Author:** [@LoboGameDev](https://forums.unrealengine.com/u/LoboGameDev)\
**Replies:** 1\
**Last updated:** [December 2, 2024, 7:25pm UTC](https://forums.unrealengine.com/t/how-to-declare-and-use-a-singlepropertyview-using-a-c-class-derived-from-editorwidgetutility/2165098 "2024-12-02T19:25:53Z")

</div>

A tutorial or example would be appreciated cause I haven’t found anything.

---

## [What is wrong with my Visual Studio?](https://forums.unrealengine.com/t/what-is-wrong-with-my-visual-studio/2161659)

<div class="topic-metadata">

**Author:** [@Oblivisight](https://forums.unrealengine.com/u/Oblivisight)\
**Replies:** 10\
**Last updated:** [December 2, 2024, 7:09pm UTC](https://forums.unrealengine.com/t/what-is-wrong-with-my-visual-studio/2161659 "2024-12-02T19:09:31Z")

</div>

Hello these are the things I installed for VS but my build always have errors. I do not know what to do please someone who could make it run check it. My unreal engine is 5.4.4

---

## [How To Iter Over ECollisionChannel C++?](https://forums.unrealengine.com/t/how-to-iter-over-ecollisionchannel-c/2162575)

<div class="topic-metadata">

**Author:** [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Replies:** 2\
**Last updated:** [December 2, 2024, 5:44pm UTC](https://forums.unrealengine.com/t/how-to-iter-over-ecollisionchannel-c/2162575 "2024-12-02T17:44:46Z")

</div>

Doesnt work, pls Help.

---

## [How to create and add a Flip Flop blueprint node from C++?](https://forums.unrealengine.com/t/how-to-create-and-add-a-flip-flop-blueprint-node-from-c/2163971)

<div class="topic-metadata">

**Author:** [@JAuzanneau](https://forums.unrealengine.com/u/JAuzanneau)\
**Replies:** 2\
**Last updated:** [December 2, 2024, 9:57am UTC](https://forums.unrealengine.com/t/how-to-create-and-add-a-flip-flop-blueprint-node-from-c/2163971 "2024-12-02T09:57:34Z")

</div>

Hi, I’m trying to build blueprint graphs through C++ and I encountered a problem when trying to create a Flip Flop node. The node, alongside many others, is a macro node, which means it is a “shortcut” to a subgraph tha…

---

## [Recording animation of an actor driven by the animation blueprint using C++ in editor mode.](https://forums.unrealengine.com/t/recording-animation-of-an-actor-driven-by-the-animation-blueprint-using-c-in-editor-mode/2163886)

<div class="topic-metadata">

**Author:** [@GeneralD](https://forums.unrealengine.com/u/GeneralD)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 7:47am UTC](https://forums.unrealengine.com/t/recording-animation-of-an-actor-driven-by-the-animation-blueprint-using-c-in-editor-mode/2163886 "2024-12-02T07:47:15Z")

</div>

So I have an animation blueprint which is procedurally creating animation my modifying the morph target curves. When within the Animation Blueprint Editor I click the Record button then the resulting animation sequence c…

---

## [LNK1104 error after moving project directory](https://forums.unrealengine.com/t/lnk1104-error-after-moving-project-directory/1892706)

<div class="topic-metadata">

**Author:** [@SpacewaIker07](https://forums.unrealengine.com/u/SpacewaIker07)\
**Replies:** 2\
**Last updated:** [December 2, 2024, 6:24am UTC](https://forums.unrealengine.com/t/lnk1104-error-after-moving-project-directory/1892706 "2024-12-02T06:24:36Z")

</div>

I moved my project directories around from ~/Documents/Unreal Projects to ~/Unreal Projects. Since then, live coding compilation fails because it’s looking for a file in the wrong place: File C:\\Users\\me\\Unreal Projects…

---

## [Interface NetMulticast function only runs on Server](https://forums.unrealengine.com/t/interface-netmulticast-function-only-runs-on-server/2161303)

<div class="topic-metadata">

**Author:** [@Domnias](https://forums.unrealengine.com/u/Domnias)\
**Replies:** 2\
**Last updated:** [December 1, 2024, 4:13pm UTC](https://forums.unrealengine.com/t/interface-netmulticast-function-only-runs-on-server/2161303 "2024-12-01T16:13:27Z")

</div>

It seems to me that interface functions marked as NetMulticast defined in C++ only run on the Server when invoked from the Server. I made an example: test\_if.h #pragma once #include "CoreMinimal.h" #include "system/u…

---

## [Actor BP with C++ parent fall through surfaces](https://forums.unrealengine.com/t/actor-bp-with-c-parent-fall-through-surfaces/2161488)

<div class="topic-metadata">

**Author:** [@GrumpyGrandpaGS](https://forums.unrealengine.com/u/GrumpyGrandpaGS)\
**Replies:** 0\
**Last updated:** [December 1, 2024, 2:05pm UTC](https://forums.unrealengine.com/t/actor-bp-with-c-parent-fall-through-surfaces/2161488 "2024-12-01T14:05:32Z")

</div>

Hi! I’m having a really weird issue. Basically I’m having a a following structure: BP\_Sword \> Sword \> Armament \> Actor where the BP\_Sword is of course a blueprint class. Armament itself has a static mesh property which …

---

## [Vehicles Component Subclass Modifications](https://forums.unrealengine.com/t/vehicles-component-subclass-modifications/2158686)

<div class="topic-metadata">

**Author:** [@Game\_Studios\_LLC](https://forums.unrealengine.com/u/Game_Studios_LLC)\
**Replies:** 2\
**Last updated:** [December 1, 2024, 5:02am UTC](https://forums.unrealengine.com/t/vehicles-component-subclass-modifications/2158686 "2024-12-01T05:02:29Z")

</div>

I have been scouring the web and other resources. I have even reached out to Epic Games Staff and they wont even try to help me. There is no documentation regarding modification of the Vehicles Code. So either someone wi…

---

## [Is unreal engine has a code style checking tool?](https://forums.unrealengine.com/t/is-unreal-engine-has-a-code-style-checking-tool/228834)

<div class="topic-metadata">

**Author:** [@Ocarina1024](https://forums.unrealengine.com/u/Ocarina1024)\
**Replies:** 3\
**Last updated:** [November 30, 2024, 3:39pm UTC](https://forums.unrealengine.com/t/is-unreal-engine-has-a-code-style-checking-tool/228834 "2024-11-30T15:39:43Z")

</div>

just like google’s cpplint or in any other way?

---

## ["Incorrect" strings/code](https://forums.unrealengine.com/t/incorrect-strings-code/2156523)

<div class="topic-metadata">

**Author:** [@LuhBonettoRD](https://forums.unrealengine.com/u/LuhBonettoRD)\
**Replies:** 9\
**Last updated:** [November 30, 2024, 6:34am UTC](https://forums.unrealengine.com/t/incorrect-strings-code/2156523 "2024-11-30T06:34:16Z")

</div>

Up until recently I’ve been making a project via blueprints (Started recently and it’s very user-friendly). But now I’m delving into more complex code so I’m forced to migrate the project to C++. I’ve installed the nece…

---

## [Creating a Tug of War MiniGame](https://forums.unrealengine.com/t/creating-a-tug-of-war-minigame/2155093)

<div class="topic-metadata">

**Author:** [@GogetaVj](https://forums.unrealengine.com/u/GogetaVj)\
**Replies:** 8\
**Last updated:** [November 29, 2024, 9:18pm UTC](https://forums.unrealengine.com/t/creating-a-tug-of-war-minigame/2155093 "2024-11-29T21:18:37Z")

</div>

So I am having trouble with the player character’s movement. So the tug of war is supposed to be a mashing minigame where teach team has to make the red tie on the rope reach a certain point on the level. So I set up an…

---

## [Custom Gravity c++ How can i access the MovementComponent functionality from Character class?](https://forums.unrealengine.com/t/custom-gravity-c-how-can-i-access-the-movementcomponent-functionality-from-character-class/2135208)

<div class="topic-metadata">

**Author:** [@Zombie.SoC1](https://forums.unrealengine.com/u/Zombie.SoC1)\
**Replies:** 3\
**Last updated:** [November 30, 2024, 12:21am UTC](https://forums.unrealengine.com/t/custom-gravity-c-how-can-i-access-the-movementcomponent-functionality-from-character-class/2135208 "2024-11-30T00:21:54Z")

</div>

Hello, since 5.4 the custom gravity functionality is accessable in BP via the character class and its MovementComponent. I want to do the same thing in c++ and running into the trouble that i cant access the movem…

---

## [Change default lighting channels on all actors](https://forums.unrealengine.com/t/change-default-lighting-channels-on-all-actors/2131596)

<div class="topic-metadata">

**Author:** [@VelikyPanda](https://forums.unrealengine.com/u/VelikyPanda)\
**Replies:** 3\
**Last updated:** [November 29, 2024, 10:01pm UTC](https://forums.unrealengine.com/t/change-default-lighting-channels-on-all-actors/2131596 "2024-11-29T22:01:20Z")

</div>

Hi, I’d like all the actors in my game to have lighting channels 0 and 1 enabled as opposed to only channel 0 being enabled as it is by default. I’ve noticed that all the actors/components where lighting channels can b…

---

## [How to Detect Adjacent Faces on Static Mesh Using C++?](https://forums.unrealengine.com/t/how-to-detect-adjacent-faces-on-static-mesh-using-c/2158469)

<div class="topic-metadata">

**Author:** [@TurnkeyGalaxy04](https://forums.unrealengine.com/u/TurnkeyGalaxy04)\
**Replies:** 0\
**Last updated:** [November 29, 2024, 6:05pm UTC](https://forums.unrealengine.com/t/how-to-detect-adjacent-faces-on-static-mesh-using-c/2158469 "2024-11-29T18:05:34Z")

</div>

I’m developing a game in Unreal Engine 5, and I need to create a spider locomotion system that allows the character to walk seamlessly on all surfaces, including walls and ceilings. Here’s what I’m aiming to achieve: De…

---

## [How would I draw a texture onto a primitive "Draw Line" node in widgets?](https://forums.unrealengine.com/t/how-would-i-draw-a-texture-onto-a-primitive-draw-line-node-in-widgets/2151404)

<div class="topic-metadata">

**Author:** [@CarbonLad](https://forums.unrealengine.com/u/CarbonLad)\
**Replies:** 1\
**Last updated:** [November 29, 2024, 1:16pm UTC](https://forums.unrealengine.com/t/how-would-i-draw-a-texture-onto-a-primitive-draw-line-node-in-widgets/2151404 "2024-11-29T13:16:32Z")

</div>

I’m trying to create a “Wolfenstein 3D” style raycaster on a widget in UE5 Blueprints. I have everything working, which I did using the draw functions in the “On Paint” function. Now I’m trying to add textures to the lin…

---

## [Failed to rebuild](https://forums.unrealengine.com/t/failed-to-rebuild/2157996)

<div class="topic-metadata">

**Author:** [@LuhBonettoRD](https://forums.unrealengine.com/u/LuhBonettoRD)\
**Replies:** 1\
**Last updated:** [November 29, 2024, 1:00pm UTC](https://forums.unrealengine.com/t/failed-to-rebuild/2157996 "2024-11-29T13:00:29Z")

</div>

I was making a project via blueprints that I need to convert to C++ due to some features I need to add that aren’t as accessible in BPs. Followed a bunch of tutorials and guides, both official and unofficial, but two pr…

---

## [Why does FTickableGameObject keep ticking when paused?](https://forums.unrealengine.com/t/why-does-ftickablegameobject-keep-ticking-when-paused/2155565)

<div class="topic-metadata">

**Author:** [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Replies:** 3\
**Last updated:** [November 29, 2024, 12:14am UTC](https://forums.unrealengine.com/t/why-does-ftickablegameobject-keep-ticking-when-paused/2155565 "2024-11-29T00:14:25Z")

</div>

I have a custom UObject and wanted a tick function. So I derived it from FTickableGameObject. At first sight, this seems all well and good. But then I noticed it keeps ticking when the game is paused despite IsTickableWh…

---

## [Spawnable actor blueprints not fully loaded while rendering Level Sequences using C++](https://forums.unrealengine.com/t/spawnable-actor-blueprints-not-fully-loaded-while-rendering-level-sequences-using-c/2156475)

<div class="topic-metadata">

**Author:** [@mkloczko1](https://forums.unrealengine.com/u/mkloczko1)\
**Replies:** 0\
**Last updated:** [November 28, 2024, 3:44pm UTC](https://forums.unrealengine.com/t/spawnable-actor-blueprints-not-fully-loaded-while-rendering-level-sequences-using-c/2156475 "2024-11-28T15:44:50Z")

</div>

The software I am working on is capable of creating Level Sequences using C++, and then immediately render them somewhere. The Level Sequences use blueprint actors that are spawnable. I have a problem - when I open the …

---

## [Magical mechanics from Arx Fatalis](https://forums.unrealengine.com/t/magical-mechanics-from-arx-fatalis/2156428)

<div class="topic-metadata">

**Author:** [@s0ra1](https://forums.unrealengine.com/u/s0ra1)\
**Replies:** 0\
**Last updated:** [November 28, 2024, 3:21pm UTC](https://forums.unrealengine.com/t/magical-mechanics-from-arx-fatalis/2156428 "2024-11-28T15:21:27Z")

</div>

Good afternoon. I am new to game development on Unreal Engine. Now I’m facing a problem that I can’t figure out how to implement the mechanics of using magic from the game Arx Fatalis on CPP. At the moment I have reached…

---

## [Why in packaged game UWidgetComponent(world space UI) are not existing?](https://forums.unrealengine.com/t/why-in-packaged-game-uwidgetcomponent-world-space-ui-are-not-existing/2154876)

<div class="topic-metadata">

**Author:** [@Justrenis](https://forums.unrealengine.com/u/Justrenis)\
**Replies:** 0\
**Last updated:** [November 27, 2024, 6:02pm UTC](https://forums.unrealengine.com/t/why-in-packaged-game-uwidgetcomponent-world-space-ui-are-not-existing/2154876 "2024-11-27T18:02:34Z")

</div>

I made Hp bars for enemies, they all work in editor/standalone, but in packaged game they do not exist… I do not change their visibility, so they should be visible all the time.

---

## [Accessing Static Light Information from C++](https://forums.unrealengine.com/t/accessing-static-light-information-from-c/2150446)

<div class="topic-metadata">

**Author:** [@RodolfoBarcelli1](https://forums.unrealengine.com/u/RodolfoBarcelli1)\
**Replies:** 1\
**Last updated:** [November 27, 2024, 5:23pm UTC](https://forums.unrealengine.com/t/accessing-static-light-information-from-c/2150446 "2024-11-27T17:23:03Z")

</div>

I am currently trying to make a stealth component for my game in which I want to access the static light information held in the Precompiled Light Volume. I notice the method called InterpolateIrradianceToPoint() inside …

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/c-programming/29.md?page=65)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/c-programming/29.md?page=67)
