diff options
author | MW | 2007-07-01 17:26:33 +0000 |
---|---|---|
committer | MW | 2007-07-01 17:26:33 +0000 |
commit | 9800c05c1b3c7804466d6f3a9c38a739156625fd (patch) | |
tree | d4776d600e2ca547214ac3dcf2f4a0407e28ac5e /OpenSim/Region/Physics/Manager | |
parent | * now saves ExternalHostName in config (diff) | |
download | opensim-SC-9800c05c1b3c7804466d6f3a9c38a739156625fd.zip opensim-SC-9800c05c1b3c7804466d6f3a9c38a739156625fd.tar.gz opensim-SC-9800c05c1b3c7804466d6f3a9c38a739156625fd.tar.bz2 opensim-SC-9800c05c1b3c7804466d6f3a9c38a739156625fd.tar.xz |
Started change to having SceneObject and then that having child Primitives which in turn have a Shape object (currently PrimitiveBaseShape). The plan is only for the SceneObject to interface with the physics engines. As a physics Entity should be able to have mulitple shapes connected to it.
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index 6366fb8..502d8e6 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -31,8 +31,16 @@ using System.Text; | |||
31 | 31 | ||
32 | namespace OpenSim.Physics.Manager | 32 | namespace OpenSim.Physics.Manager |
33 | { | 33 | { |
34 | public delegate void PositionUpdate(PhysicsVector position); | ||
35 | public delegate void VelocityUpdate(PhysicsVector velocity); | ||
36 | public delegate void OrientationUpdate(Axiom.MathLib.Quaternion orientation); | ||
37 | |||
34 | public abstract class PhysicsActor | 38 | public abstract class PhysicsActor |
35 | { | 39 | { |
40 | public event PositionUpdate OnPositionUpdate; | ||
41 | public event VelocityUpdate OnVelocityUpdate; | ||
42 | public event OrientationUpdate OnOrientationUpdate; | ||
43 | |||
36 | public static PhysicsActor Null | 44 | public static PhysicsActor Null |
37 | { | 45 | { |
38 | get | 46 | get |