From 443fc60cdf399a49832e787ca58c2644bef7e457 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 1 Apr 2017 17:49:17 +0100 Subject: store the physics inertia override in Mysql and add it to serializer. run prebuild is required --- .../PhysicsModules/SharedBase/PhysicsActor.cs | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'OpenSim/Region/PhysicsModules/SharedBase') diff --git a/OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs b/OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs index ad9b28f..d23d9c1 100644 --- a/OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs +++ b/OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs @@ -55,28 +55,6 @@ namespace OpenSim.Region.PhysicsModules.SharedBase Absolute } - public class PhysicsInertiaData - { - public float TotalMass; // the total mass of a linkset - public Vector3 CenterOfMass; // the center of mass position relative to root part position - public Vector3 Inertia; // (Ixx, Iyy, Izz) moment of inertia relative to center of mass and principal axis in local coords - public Vector4 InertiaRotation; // if principal axis don't match local axis, the principal axis rotation - // or the upper triangle of the inertia tensor - // Ixy (= Iyx), Ixz (= Izx), Iyz (= Izy)) - - public PhysicsInertiaData() - { - } - - public PhysicsInertiaData(PhysicsInertiaData source) - { - TotalMass = source.TotalMass; - CenterOfMass = source.CenterOfMass; - Inertia = source.Inertia; - InertiaRotation = source.InertiaRotation; - } - } - public struct CameraData { public Quaternion CameraRotation; -- cgit v1.1