BulletSim: fix two compiler warnings.
Mostly code left over from things that are not done that way anymore.fsassets
parent
0e401238e7
commit
d750647fb1
|
@ -61,7 +61,6 @@ public sealed class BSCharacter : BSPhysObject
|
||||||
private const string AvatarMoveActorName = "BSCharacter.AvatarMove";
|
private const string AvatarMoveActorName = "BSCharacter.AvatarMove";
|
||||||
|
|
||||||
private OMV.Vector3 _PIDTarget;
|
private OMV.Vector3 _PIDTarget;
|
||||||
private bool _usePID;
|
|
||||||
private float _PIDTau;
|
private float _PIDTau;
|
||||||
|
|
||||||
// public override OMV.Vector3 RawVelocity
|
// public override OMV.Vector3 RawVelocity
|
||||||
|
|
|
@ -329,10 +329,6 @@ public sealed class BSLinksetCompound : BSLinkset
|
||||||
// Note that this works for rebuilding just the root after a linkset is taken apart.
|
// Note that this works for rebuilding just the root after a linkset is taken apart.
|
||||||
// Called at taint time!!
|
// Called at taint time!!
|
||||||
private bool UseBulletSimRootOffsetHack = false; // Attempt to have Bullet track the coords of root compound shape
|
private bool UseBulletSimRootOffsetHack = false; // Attempt to have Bullet track the coords of root compound shape
|
||||||
// Number of times to perform rebuilds on broken linkset children. This should only happen when
|
|
||||||
// a linkset is initially being created and should happen only one or two times at the most.
|
|
||||||
// This exists to cause a looping problem to be reported while not rebuilding a linkset forever.
|
|
||||||
private static int LinksetRebuildFailureLoopPrevention = 10;
|
|
||||||
private void RecomputeLinksetCompound()
|
private void RecomputeLinksetCompound()
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue