add ckg
plantilla base para movimiento básico
This commit is contained in:
44
Assets/Game Kit Controller/Scripts/Others/objectOnWater.cs
Normal file
44
Assets/Game Kit Controller/Scripts/Others/objectOnWater.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class objectOnWater : MonoBehaviour
|
||||
{
|
||||
public virtual void updateExternalForces (Vector3 newValues, bool externalForcesActiveValue)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual bool isObjectOnWaterActive ()
|
||||
{
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual void updateExternalRotationForces (float rotationAmount, Vector3 rotationAxis, Vector3 externalRotationForcePoint)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual float getDensity ()
|
||||
{
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
public virtual void setNewDensity (float newValue)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void addOrRemoveDensity (float newValue)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void setOriginalDensity ()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user