mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
BulletSim: some small changes to SetForce and SetTorque motors that don't seem to fix any problems.
This commit is contained in:
@@ -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 */);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user