Added IsInterpolating to RigidBody in C#

This commit is contained in:
Kah Wei 2022-11-02 13:48:53 +08:00
parent 93c684fbb1
commit 7bda8b3998
2 changed files with 13 additions and 0 deletions

View File

@ -148,6 +148,14 @@ namespace SHADE
{ {
return Convert::ToCLI(GetNativeComponent()->GetTorque()); return Convert::ToCLI(GetNativeComponent()->GetTorque());
} }
bool RigidBody::Interpolating::get()
{
return GetNativeComponent()->IsInterpolating();
}
void RigidBody::Interpolating::set(bool value)
{
GetNativeComponent()->SetInterpolate(value);
}
/*---------------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------------*/
/* Force Functions */ /* Force Functions */

View File

@ -129,6 +129,11 @@ namespace SHADE
{ {
Vector3 get(); Vector3 get();
} }
property bool Interpolating
{
bool get();
void set(bool value);
}
/*-----------------------------------------------------------------------------*/ /*-----------------------------------------------------------------------------*/
/* Force Functions */ /* Force Functions */