mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Add TargetVelocity to PhysicsActor interface to support distributed physics. No change to existing functions.
This commit is contained in:
@@ -257,6 +257,12 @@ namespace OpenSim.Region.Physics.Manager
|
||||
/// Getting this returns the velocity calculated by physics scene updates, using factors such as target velocity,
|
||||
/// time to accelerate and collisions.
|
||||
/// </remarks>
|
||||
public virtual Vector3 TargetVelocity
|
||||
{
|
||||
get { return Velocity; }
|
||||
set { Velocity = value; }
|
||||
}
|
||||
|
||||
public abstract Vector3 Velocity { get; set; }
|
||||
|
||||
public abstract Vector3 Torque { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user