BulletSim: some small changes to SetForce and SetTorque motors that don't seem to fix any problems.

This commit is contained in:
Robert Adams
2023-05-30 18:28:50 +00:00
parent e950c502ad
commit 1527d42823
3 changed files with 0 additions and 5 deletions

View File

@@ -162,9 +162,6 @@ namespace OpenSim.Region.PhysicsModule.BulletS
// http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=20817
// http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=26380
// Remove any existing axis constraint (just to be sure)
RemoveAxisLockConstraint();
BSConstraint6Dof axisConstrainer = new BSConstraint6Dof(m_physicsScene.World, m_controllingPrim.PhysBody,
OMV.Vector3.Zero, OMV.Quaternion.Identity,
false /* useLinearReferenceFrameB */, true /* disableCollisionsBetweenLinkedBodies */);

View File

@@ -73,7 +73,6 @@ namespace OpenSim.Region.PhysicsModule.BulletS
{
m_physicsScene.DetailLog("{0},BSActorSetForce,refresh,notSetForce,removing={1}", m_controllingPrim.LocalID, ActorName);
Enabled = false;
return;
}
// If the object is physically active, add the hoverer prestep action

View File

@@ -73,7 +73,6 @@ namespace OpenSim.Region.PhysicsModule.BulletS
{
m_physicsScene.DetailLog("{0},BSActorSetTorque,refresh,notSetTorque,disabling={1}", m_controllingPrim.LocalID, ActorName);
Enabled = false;
return;
}
// If the object is physically active, add the hoverer prestep action