29 using System.Collections.Generic;
32 using OpenSim.Framework;
33 using OpenSim.Region.PhysicsModules.SharedBase;
35 namespace OpenSim.
Region.PhysicsModule.BasicPhysics
39 private Vector3 _size;
43 string name, uint localId, Vector3 position, Vector3 size, Quaternion orientation,
PrimitiveBaseShape shape)
49 Orientation = orientation;
53 public override int PhysicsActorType
55 get {
return (
int) ActorTypes.Agent; }
59 public override Vector3 RotationalVelocity {
get; set; }
67 public override uint LocalID
72 public override bool Grabbed
77 public override bool Selected
82 public override float Buoyancy
88 public override bool FloatOnWater
93 public override bool IsPhysical
99 public override bool ThrottleUpdates
101 get {
return false; }
105 public override bool Flying {
get; set; }
107 public override bool IsColliding {
get; set; }
109 public override bool CollidingGround
111 get {
return false; }
115 public override bool CollidingObj
117 get {
return false; }
121 public override bool Stopped
123 get {
return false; }
128 public override Vector3
Size
130 get {
return _size; }
133 _size.Z = _size.Z / 2.0f;
143 public override float Mass
148 public override Vector3 Force
150 get {
return Vector3.Zero; }
154 public override int VehicleType
185 public override Vector3 CenterOfMass
187 get {
return Vector3.Zero; }
190 public override Vector3 GeometricCenter
192 get {
return Vector3.Zero; }
197 public override Vector3 Torque
199 get {
return Vector3.Zero; }
203 public override float CollisionScore
209 public override Quaternion Orientation {
get; set; }
213 public override bool Kinematic
231 public override void AddForce(Vector3 force,
bool pushforce)
247 public override Vector3 PIDTarget
252 public override bool PIDActive
254 get {
return false; }
258 public override float PIDTau
263 public override float PIDHoverHeight
268 public override bool PIDHoverActive
270 get {
return false; }
279 public override float PIDHoverTau
284 public override Quaternion APIDTarget
289 public override bool APIDActive
294 public override float APIDStrength
299 public override float APIDDamping
override void link(PhysicsActor obj)
BasicPhysicsPrim(string name, uint localId, Vector3 position, Vector3 size, Quaternion orientation, PrimitiveBaseShape shape)
override void AddAngularForce(Vector3 force, bool pushforce)
delegate void SetAlwaysRun(IClientAPI remoteClient, bool SetAlwaysRun)
override void LockAngularMotion(byte axislocks)
override void SetVolumeDetect(int param)
Allows the detection of collisions with inherently non-physical prims. see llVolumeDetect for more ...
override void CrossingFailure()
OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion rotation
override void AddForce(Vector3 force, bool pushforce)
override void VehicleVectorParam(int param, Vector3 value)
override void VehicleFloatParam(int param, float value)
override void UnSubscribeEvents()
override void SetMomentum(Vector3 momentum)
override void VehicleFlags(int param, bool remove)
override bool SubscribedEvents()
override void SubscribeEvents(int ms)
override void VehicleRotationParam(int param, Quaternion rotation)