28 using System.Collections.Generic;
29 using System.Reflection;
32 using OpenSim.Framework;
35 namespace OpenSim.
Region.PhysicsModules.SharedBase
39 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
41 private static int m_workIndicator;
44 string avName, Vector3 position, Vector3 velocity, Vector3 size,
bool isFlying)
46 m_log.InfoFormat(
"[PHYSICS]: NullPhysicsScene : AddAvatar({0})", position);
47 return PhysicsActor.Null;
71 Vector3 size, Quaternion
rotation,
bool isPhysical, uint localid)
73 m_log.InfoFormat(
"[PHYSICS]: NullPhysicsScene : AddPrim({0},{1})", position, size);
74 return PhysicsActor.Null;
83 m_workIndicator = (m_workIndicator + 1) % 10;
90 m_log.Info(
"[PHYSICS]: NullPhysicsScene : GetResults()");
95 m_log.InfoFormat(
"[PHYSICS]: NullPhysicsScene : SetTerrain({0} items)", heightMap.Length);
102 public override bool IsThreaded
104 get {
return false; }
113 Dictionary<uint, float> returncolliders =
new Dictionary<uint, float>();
114 return returncolliders;
override void RemovePrim(PhysicsActor prim)
Remove a prim.
override void GetResults()
override void AddPhysicsActorTaint(PhysicsActor prim)
override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rotation, bool isPhysical, uint localid)
override void DeleteTerrain()
override Dictionary< uint, float > GetTopColliders()
OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion rotation
override void RemoveAvatar(PhysicsActor actor)
Remove an avatar.
override void SetWaterLevel(float baseheight)
override float Simulate(float timeStep)
Perform a simulation of the current physics scene over the given timestep.
override void SetTerrain(float[] heightMap)
override PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 velocity, Vector3 size, bool isFlying)
Add an avatar