* Added Rotational Velocity reporting for Client Interpolation to Terse Updates

* Added Angular Velocity reporting for smooth-ish rotations on object collisions
This commit is contained in:
Teravus Ovares
2007-11-08 00:10:40 +00:00
parent 08701ee7fc
commit 9e9dad1cde
10 changed files with 130 additions and 30 deletions

View File

@@ -643,6 +643,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin
protected PhysicsVector _size;
protected PhysicsVector _acceleration;
protected AxiomQuaternion _orientation;
protected PhysicsVector m_rotationalVelocity = PhysicsVector.Zero;
protected RigidBody rigidBody;
private Boolean iscolliding = false;
@@ -662,6 +663,11 @@ namespace OpenSim.Region.Physics.BulletXPlugin
}
}
}
public override PhysicsVector RotationalVelocity
{
get { return m_rotationalVelocity; }
set { m_rotationalVelocity = value; }
}
public override PhysicsVector Velocity
{
get { return _velocity; }