

解答
SaveName変数のデフォルト値「RankingData」が入ってるか?
SaveNameのデフォルト値が Get SaveNameで使われてるか?

リファレンスの検索で最後に出てくる
WBP_Rankingで Cast して自分のゲームモードを読んでるか?

できた



SaveName変数のデフォルト値「RankingData」が入ってるか?
SaveNameのデフォルト値が Get SaveNameで使われてるか?

リファレンスの検索で最後に出てくる
WBP_Rankingで Cast して自分のゲームモードを読んでるか?

できた

ポジTAさんのこのぺーじをvs2022でやる
https://zenn.dev/posita33/books/ue5_starter_cpp_and_bp_001/viewer/chap_01_vs2019_setup
プロジェクトを作成する際に「C++」でプロジェクトを作成します。
[Edit] > [Plugins]を選択します。
独自のPluginを作成するには左上の「Add」ボタンをクリックします。
プラグインの作成手順は以下の手順になります。
| Author | 制作者名 |
| Description | Pluginの説明 |
| Author URL | 制作者のPlugin説明用のURLを書いておくとPluginの制作者名をクリックするとURLに移動する |
| Is Beta Version | チェックボックスを有効にすると、Plugin名の横にBetaが表示される |

「Create Plugin 」を押す。2分ぐらいかかる?

Pluginのウィンドウで作成したPlugin名を検索すると一覧に登録されています。

Editボタンで(Plugin名).pluginファイルで設定をより詳細に変更できます。

色々設定して128×128のアイコン設定して。。

ContentsBrowserやVisualStudioに追加されたPluginが表示されます。

以下の感じで吐き出される
furcraeaBluePrintLib.h
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Modules/ModuleManager.h"
class FfurcraeaBluePrintLibModule : public IModuleInterface
{
public:
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
};
furcraeaBluePrintLib.cpp
// Copyright Epic Games, Inc. All Rights Reserved.
#include "furcraeaBluePrintLib.h"
#define LOCTEXT_NAMESPACE "FfurcraeaBluePrintLibModule"
void FfurcraeaBluePrintLibModule::StartupModule()
{
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
}
void FfurcraeaBluePrintLibModule::ShutdownModule()
{
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
// we call this function before unloading the module.
}
#undef LOCTEXT_NAMESPACE
IMPLEMENT_MODULE(FfurcraeaBluePrintLibModule, furcraeaBluePrintLib)furcraeaBluePrintLibBPLibrary.h
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Kismet/BlueprintFunctionLibrary.h"
#include "furcraeaBluePrintLibBPLibrary.generated.h"
/*
* Function library class.
* Each function in it is expected to be static and represents blueprint node that can be called in any blueprint.
*
* When declaring function you can define metadata for the node. Key function specifiers will be BlueprintPure and BlueprintCallable.
* BlueprintPure - means the function does not affect the owning object in any way and thus creates a node without Exec pins.
* BlueprintCallable - makes a function which can be executed in Blueprints - Thus it has Exec pins.
* DisplayName - full name of the node, shown when you mouse over the node and in the blueprint drop down menu.
* Its lets you name the node using characters not allowed in C++ function names.
* CompactNodeTitle - the word(s) that appear on the node.
* Keywords - the list of keywords that helps you to find node when you search for it using Blueprint drop-down menu.
* Good example is "Print String" node which you can find also by using keyword "log".
* Category - the category your node will be under in the Blueprint drop-down menu.
*
* For more info on custom blueprint nodes visit documentation:
* https://wiki.unrealengine.com/Custom_Blueprint_Node_Creation
*/
UCLASS()
class UfurcraeaBluePrintLibBPLibrary : public UBlueprintFunctionLibrary
{
GENERATED_UCLASS_BODY()
UFUNCTION(BlueprintCallable, meta = (DisplayName = "Execute Sample function", Keywords = "furcraeaBluePrintLib sample test testing"), Category = "furcraeaBluePrintLibTesting")
static float furcraeaBluePrintLibSampleFunction(float Param);
};
furcraeaBluePrintLibBPLibrary.cpp
// Copyright Epic Games, Inc. All Rights Reserved.
#include "furcraeaBluePrintLibBPLibrary.h"
#include "furcraeaBluePrintLib.h"
UfurcraeaBluePrintLibBPLibrary::UfurcraeaBluePrintLibBPLibrary(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
float UfurcraeaBluePrintLibBPLibrary::furcraeaBluePrintLibSampleFunction(float Param)
{
return -1;
}
参考URL
全部ポジTAさんですありがとうございます。
MaterialParameterCollectionのファイル作って

ポストプロセスマテリアルの中身で参照させて

Set Vector param 呼び出すだけ

変更したいけどうまくいかないの状態
https://forums.unrealengine.com/t/change-post-process-material/448103/9
で解決の状態
A node that uses HSV to get pretty random colors


参考
https://forums.unrealengine.com/t/make-color-node-with-hsv-for-random-material/328970
To RotatorもFrom Rotator もTo Euler From Euler になりました。!
https://sites.google.com/site/seikodevmemo/top/UE4AC2019-2-1224-ConrtolRig-Main/EyeControlSequence
のサイトのおまけ

ですが、UE5.4ではこうなりました。(下のノードちょっと工事中です。)

で直して着地したのがこれ(失敗)

これでやっと落ち着いた。(回転制限のclampの固定値では制御しきれなかった)

さらにスカートの長さをもものrotationから調節して解決


どうにか完成してよかった。
[UE5][Retarget]How to retarget at runtime
1,各スケルトンのスケルタルメッシュからIKRigを作る
2,IKリターゲッターを作る。
3、動かしたいターゲットのABPを作って
4,Retarget Pose From MeshのノードでIKリターゲッターをセットする

5,BPの構造はこうする。

参考URL
地形アセットを購入したら大量のスタティックメッシュのおかしなコリジョンがついてきた場合にどうぞ!
選択したスタティックメッシュのコリジョンを削除
assets = unreal.EditorUtilityLibrary.get_selected_assets()
AssetDataList = unreal.EditorUtilityLibrary.get_selected_asset_data()
for a in AssetDataList:
if a.asset_class_path.asset_name == "StaticMesh":
mesh = unreal.EditorAssetLibrary.find_asset_data(a.package_name).get_asset()
unreal.EditorStaticMeshLibrary.remove_collisions(mesh)3DのUIのwidget だけをポストプロセスエフェクトから除外したい。
カスタム深度ステンシルパスをEnabld

キャラクターまたはSkeltalMeshまたはStaticMeshまたはWidgetのCustomDepth PathをオンにするStencil Value」を割り当て

ポストプロセスマテリアルを作成, ポストプロセス用の設定を行ってください

「Switch」ノードを配置し、0~3 の “Input” を追加してください
ステンシル毎に違う色を設定します
“Custom Stencil”で取得できる値は元々整数なので、そのまま”Switch Value”に渡すだけでOKです

作成したポストプロセスマテリアルを、レベル上の PostProcessVolume に設定します

確認します。



参考URL
動画はこれだよ
ControlRig と KawaiiPhysicsを接続してるよ

4分岐


1L

1R

2L

2R

ちなみに最後のこれはデバッグであってもなくても動く

で完成!
今後の参考
参考
管理者用 ZIP
https://drive.google.com/file/d/1l5EAxrJS8_Ll6ElZsOLRPNZ7p1tXPgUZ/view?usp=sharing