mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* 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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user