Add Spline Collider

This commit is contained in:
Wojtek Figat
2021-02-11 16:47:43 +01:00
parent 6c253ce892
commit 49758fbfff
5 changed files with 410 additions and 6 deletions

View File

@@ -10,6 +10,11 @@ Spline::Spline(const SpawnParams& params)
{
}
bool Spline::GetIsLoop() const
{
return _loop;
}
void Spline::SetIsLoop(bool value)
{
if (_loop != value)

View File

@@ -28,10 +28,7 @@ public:
/// Whether to use spline as closed loop. In that case, ensure to place start and end at the same location.
/// </summary>
API_PROPERTY(Attributes="EditorOrder(0), EditorDisplay(\"Spline\")")
FORCE_INLINE bool GetIsLoop() const
{
return _loop;
}
bool GetIsLoop() const;
/// <summary>
/// Whether to use spline as closed loop. In that case, ensure to place start and end at the same location.