Add Spline Collider
This commit is contained in:
@@ -10,6 +10,11 @@ Spline::Spline(const SpawnParams& params)
|
||||
{
|
||||
}
|
||||
|
||||
bool Spline::GetIsLoop() const
|
||||
{
|
||||
return _loop;
|
||||
}
|
||||
|
||||
void Spline::SetIsLoop(bool value)
|
||||
{
|
||||
if (_loop != value)
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user