diff options
author | UbitUmarov | 2012-12-05 23:19:18 +0000 |
---|---|---|
committer | UbitUmarov | 2012-12-05 23:19:18 +0000 |
commit | de3180a63ecb89971321b7dce60dd86703f87e6d (patch) | |
tree | 3945930136e5942de13f1c23c19f8ed0c0020e0e /OpenSim/Region/Physics/Manager | |
parent | move characters (avatars) to own collision space, also fixing a problem (diff) | |
download | opensim-SC-de3180a63ecb89971321b7dce60dd86703f87e6d.zip opensim-SC-de3180a63ecb89971321b7dce60dd86703f87e6d.tar.gz opensim-SC-de3180a63ecb89971321b7dce60dd86703f87e6d.tar.bz2 opensim-SC-de3180a63ecb89971321b7dce60dd86703f87e6d.tar.xz |
avatar collision plane send to viewer is only relative to feet. change
avatar collider, just rounding the boxes, etc
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index 5af6373..e1168bd 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -61,6 +61,7 @@ namespace OpenSim.Region.Physics.Manager | |||
61 | public Vector3 SurfaceNormal; | 61 | public Vector3 SurfaceNormal; |
62 | public float PenetrationDepth; | 62 | public float PenetrationDepth; |
63 | public float RelativeSpeed; | 63 | public float RelativeSpeed; |
64 | public bool CharacterFeet; | ||
64 | 65 | ||
65 | public ContactPoint(Vector3 position, Vector3 surfaceNormal, float penetrationDepth) | 66 | public ContactPoint(Vector3 position, Vector3 surfaceNormal, float penetrationDepth) |
66 | { | 67 | { |
@@ -68,6 +69,7 @@ namespace OpenSim.Region.Physics.Manager | |||
68 | SurfaceNormal = surfaceNormal; | 69 | SurfaceNormal = surfaceNormal; |
69 | PenetrationDepth = penetrationDepth; | 70 | PenetrationDepth = penetrationDepth; |
70 | RelativeSpeed = 0f; // for now let this one be set explicity | 71 | RelativeSpeed = 0f; // for now let this one be set explicity |
72 | CharacterFeet = true; // keep other plugins work as before | ||
71 | } | 73 | } |
72 | } | 74 | } |
73 | 75 | ||