EpicSkookumScript / EpicSkookumScript/SkookumScript-Plugin

Add missing FVector2/3/4 methods to Vector classes

未关闭
#4 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement help wanted
主要语言
C++
星标
138
派生
22
PR 合并指标
30 天内没有已合并 PR

描述

**Issue by [error454](https://github.com/error454)**
_Wednesday Jul 03, 2019 at 02:40 GMT_
_Originally opened as https://github.com/SkookumScript/SkookumScript-Plugin/issues/4_

----

**Is your feature request related to a problem? Please describe.**
When you do a lot of vector work in C++, you get used to using certain helpers and methods on the vector types. Functions like `GetUnitAxis` for example, which aren't even exposed to BP but are invaluable.

**Describe the solution you'd like**
It would be great to have feature parity between the C++ `FVector` types and the sk `Vector` types.

**Additional context**
This may be brute-force manual additions to the `Vector2/3/4` classes, see [Vector2 impl](https://github.com/SkookumScript/SkookumScript-Plugin/blob/005abdae66d1a591092414a6f7d1a2880f387bb9/Source/SkookumScriptRuntime/Public/Bindings/VectorMath/SkVector2.hpp). But it sure would be nice if we could scrape and auto-generate bindings with some meta-programming and then set it loose on the entire FMath library. Unfortunately, many of the math methods do not have `UFUNCTION` macros so using UHT isn't an option.

贡献指南

打开贡献指南

调研方向

从 Source/SkookumScriptRuntime/Public/Bindings/VectorMath/SkVector2.hpp 开始,将现有的 SkookumScript Vector2、Vector3 和 Vector4 绑定与 C++ FVector API 进行对比。识别缺失的方法,并确定手动添加还是生成绑定符合项目约束。完成的标准是:所请求的向量辅助方法与受支持的 C++ 方法具有功能对等性。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp, unreal-engine
领域
game-dev
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。