29 using System.Collections.Generic;
32 using OpenSim.Framework;
33 using OpenSim.Region.PhysicsModules.SharedBase;
35 namespace OpenSim.
Region.PhysicsModule.POS
39 private Vector3 _position;
40 private Vector3 _velocity;
41 private Vector3 _acceleration;
42 private Vector3 _size;
43 private Vector3 m_rotationalVelocity = Vector3.Zero;
44 private Quaternion _orientation;
45 private bool iscolliding;
51 public override int PhysicsActorType
53 get {
return (
int) ActorTypes.Prim; }
57 public override Vector3 RotationalVelocity
59 get {
return m_rotationalVelocity; }
60 set { m_rotationalVelocity = value; }
63 public override bool IsPhysical
69 public override bool ThrottleUpdates
75 public override bool IsColliding
77 get {
return iscolliding; }
78 set { iscolliding = value; }
81 public override bool CollidingGround
87 public override bool CollidingObj
93 public override bool Stopped
100 get {
return _position; }
101 set { _position = value; }
104 public override Vector3
Size
106 get {
return _size; }
107 set { _size = value; }
110 public override float Mass
115 public override Vector3 Force
117 get {
return Vector3.Zero; }
121 public override int VehicleType
149 public override Vector3 CenterOfMass
151 get {
return Vector3.Zero; }
154 public override Vector3 GeometricCenter
156 get {
return Vector3.Zero; }
164 public override float Buoyancy
170 public override bool FloatOnWater
177 get {
return _velocity; }
178 set { _velocity = value; }
181 public override float CollisionScore
187 public override Quaternion Orientation
189 get {
return _orientation; }
190 set { _orientation = value; }
195 get {
return _acceleration; }
196 set { _acceleration = value; }
199 public override bool Kinematic
205 public override void AddForce(Vector3 force,
bool pushforce)
213 public override Vector3 Torque
215 get {
return Vector3.Zero; }
223 public override bool Flying
225 get {
return false; }
231 get {
return false; }
235 public override uint LocalID
240 public override bool Grabbed
257 public override bool Selected
266 public override Vector3 PIDTarget
271 public override bool PIDActive
273 get {
return false; }
277 public override float PIDTau
282 public override float PIDHoverHeight
287 public override bool PIDHoverActive
289 get {
return false; }
298 public override float PIDHoverTau
303 public override Quaternion APIDTarget
308 public override bool APIDActive
313 public override float APIDStrength
318 public override float APIDDamping
override void link(PhysicsActor obj)
override void AddForce(Vector3 force, bool pushforce)
delegate void SetAlwaysRun(IClientAPI remoteClient, bool SetAlwaysRun)
override void UnSubscribeEvents()
override void AddAngularForce(Vector3 force, bool pushforce)
override bool SubscribedEvents()
override void VehicleFloatParam(int param, float value)
OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion rotation
override void SetMomentum(Vector3 momentum)
override void CrossingFailure()
override void VehicleFlags(int param, bool remove)
override void VehicleRotationParam(int param, Quaternion rotation)
override void SetVolumeDetect(int param)
Allows the detection of collisions with inherently non-physical prims. see llVolumeDetect for more ...
override void LockAngularMotion(byte axislocks)
override void SubscribeEvents(int ms)
override void VehicleVectorParam(int param, Vector3 value)