Added IsInterpolating to RigidBody in C#
This commit is contained in:
parent
93c684fbb1
commit
7bda8b3998
|
@ -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 */
|
||||||
|
|
|
@ -129,6 +129,11 @@ namespace SHADE
|
||||||
{
|
{
|
||||||
Vector3 get();
|
Vector3 get();
|
||||||
}
|
}
|
||||||
|
property bool Interpolating
|
||||||
|
{
|
||||||
|
bool get();
|
||||||
|
void set(bool value);
|
||||||
|
}
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------*/
|
||||||
/* Force Functions */
|
/* Force Functions */
|
||||||
|
|
Loading…
Reference in New Issue