OpenSim
|
Public Types | |
enum | PrimAssetCondition { PrimAssetCondition.Unknown, PrimAssetCondition.Waiting, PrimAssetCondition.FailedAssetFetch, PrimAssetCondition.FailedMeshing, PrimAssetCondition.Fetched } |
Public Member Functions | |
virtual void | Destroy () |
abstract void | UpdatePhysicalMassProperties (float mass, bool inWorld) |
virtual bool | AssetFailed () |
override void | SetMaterial (int material) |
abstract void | ZeroMotion (bool inTaintTime) |
abstract void | ZeroAngularMotion (bool inTaintTime) |
abstract void | UpdateProperties (EntityProperties entprop) |
override void | AddAngularForce (OMV.Vector3 force, bool pushforce) |
abstract void | AddAngularForce (bool inTaintTime, OMV.Vector3 force) |
abstract void | AddForce (bool inTaintTime, OMV.Vector3 force) |
virtual bool | ForceBodyShapeRebuild (bool inTaintTime) |
void | ActivateIfPhysical (bool forceIt) |
delegate BSActor | CreateActor () |
void | EnableActor (bool enableActor, string actorName, CreateActor creator) |
virtual bool | Collide (BSPhysObject collidee, OMV.Vector3 contactPoint, OMV.Vector3 contactNormal, float pentrationDepth) |
virtual bool | SendCollisions () |
override void | SubscribeEvents (int ms) |
override void | UnSubscribeEvents () |
override bool | SubscribedEvents () |
void | ComputeCollisionScore () |
delegate void | PreUpdatePropertyAction (ref EntityProperties entprop) |
Public Member Functions inherited from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor | |
delegate void | RequestTerseUpdate () |
delegate void | CollisionUpdate (EventArgs e) |
delegate void | OutOfBounds (Vector3 pos) |
virtual void | getContactData (ref ContactData cdata) |
virtual void | setAvatarSize (Vector3 size, float feetOffset) |
abstract void | CrossingFailure () |
abstract void | link (PhysicsActor obj) |
abstract void | delink () |
abstract void | LockAngularMotion (byte axislocks) |
virtual void | RequestPhysicsterseUpdate () |
virtual void | RaiseOutOfBounds (Vector3 pos) |
virtual void | SendCollisionUpdate (EventArgs e) |
abstract void | VehicleFloatParam (int param, float value) |
abstract void | VehicleVectorParam (int param, Vector3 value) |
abstract void | VehicleRotationParam (int param, Quaternion rotation) |
abstract void | VehicleFlags (int param, bool remove) |
virtual void | SetVehicle (object pvdata) |
abstract void | SetVolumeDetect (int param) |
Allows the detection of collisions with inherently non-physical prims. see llVolumeDetect for more More... | |
abstract void | AddForce (Vector3 force, bool pushforce) |
abstract void | AddAngularForce (Vector3 force, bool pushforce) |
abstract void | SetMomentum (Vector3 momentum) |
virtual void | AddCollisionEvent (uint CollidedWith, ContactPoint contact) |
virtual object | Extension (string pFunct, params object[] pParams) |
Public Attributes | |
BulletBody | PhysBody = new BulletBody(0) |
BSShape | PhysShape = new BSShapeNull() |
OMV.Vector3 | LockedLinearAxis |
OMV.Vector3 | LockedAngularAxis |
const float | FreeAxis = 1f |
const float | LockedAxis = 0f |
readonly OMV.Vector3 | LockedAxisFree = new OMV.Vector3(FreeAxis, FreeAxis, FreeAxis) |
OMV.Vector3 | LockedLinearAxisLow |
OMV.Vector3 | LockedLinearAxisHigh |
OMV.Vector3 | LockedAngularAxisLow |
OMV.Vector3 | LockedAngularAxisHigh |
bool | ColliderIsMoving |
bool | ColliderIsVolumeDetect |
bool | IsStationary |
CollisionEventUpdate | CollisionsLastReported = new CollisionEventUpdate() |
CollisionEventUpdate | CollisionsLastTick = new CollisionEventUpdate() |
BSActorCollection | PhysicalActors = new BSActorCollection() |
Public Attributes inherited from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor | |
string | SOPName |
This is being used by ODE joint code. More... | |
Protected Member Functions | |
BSPhysObject () | |
BSPhysObject (BSScene parentScene, uint localID, string name, string typeName) | |
void | TriggerPreUpdatePropertyAction (ref EntityProperties entprop) |
void | DetailLog (string msg, params Object[] args) |
Protected Attributes | |
CollisionEventUpdate | CollisionCollection = new CollisionEventUpdate() |
Protected Attributes inherited from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor | |
Vector3 | m_targetVelocity |
The desired velocity of this actor. More... | |
Properties | |
BSScene | PhysScene [get, set] |
string | PhysObjectName [get, set] |
string | TypeName [get, set] |
bool | IsInitialized [get, set] |
abstract bool | IsIncomplete [get] |
abstract float | RawMass [get] |
virtual OMV.Vector3 | Gravity [get, set] |
OMV.Vector3 | Inertia [get, set] |
PrimAssetCondition | PrimAssetState [get, set] |
PrimitiveBaseShape | BaseShape [get, set] |
EntityProperties | CurrentEntityProperties [get, set] |
EntityProperties | LastEntityProperties [get, set] |
virtual OMV.Vector3 | Scale [get, set] |
abstract bool | IsPhysicallyActive [get] |
abstract bool | IsSolid [get] |
abstract bool | IsStatic [get] |
abstract bool | IsSelected [get] |
abstract bool | IsVolumeDetect [get] |
MaterialAttributes.Material | Material [get, set] |
override float | Density [get, set] |
virtual OMV.Vector3 | RawPosition [get, set] |
abstract OMV.Vector3 | ForcePosition [get, set] |
virtual OMV.Quaternion | RawOrientation [get, set] |
abstract OMV.Quaternion | ForceOrientation [get, set] |
virtual OMV.Vector3 | RawVelocity [get, set] |
abstract OMV.Vector3 | ForceVelocity [get, set] |
OMV.Vector3 | RawForce [get, set] |
OMV.Vector3 | RawTorque [get, set] |
abstract OMV.Vector3 | ForceRotationalVelocity [get, set] |
abstract float | ForceBuoyancy [get, set] |
override bool | PIDActive [get, set] |
override OMV.Vector3 | PIDTarget [set] |
override float | PIDTau [set] |
bool | MoveToTargetActive [get, set] |
OMV.Vector3 | MoveToTargetTarget [get, set] |
float | MoveToTargetTau [get, set] |
override bool | PIDHoverActive [get, set] |
override float | PIDHoverHeight [set] |
override PIDHoverType | PIDHoverType [set] |
override float | PIDHoverTau [set] |
bool | HoverActive [get, set] |
float | HoverHeight [get, set] |
PIDHoverType | HoverType [get, set] |
float | HoverTau [get, set] |
override OMV.Quaternion | APIDTarget [set] |
override bool | APIDActive [set] |
override float | APIDStrength [set] |
override float | APIDDamping [set] |
virtual float | ForwardSpeed [get] |
virtual float | TargetVelocitySpeed [get] |
OMV.Vector3 | UserSetCenterOfMassDisplacement [get, set] |
int | SubscribedEventsMs [get, set] |
int | NextCollisionOkTime [get, set] |
long | CollidingStep [get, set] |
long | CollidingGroundStep [get, set] |
long | CollidingObjectStep [get, set] |
CollisionFlags | CurrentCollisionFlags [get, set] |
long | CollisionAccumulation [get, set] |
override bool | IsColliding [get, set] |
virtual bool | HasSomeCollision [get, set] |
override bool | CollidingGround [get, set] |
override bool | CollidingObj [get, set] |
override float | CollisionScore [get, set] |
Properties inherited from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor | |
static PhysicsActor | Null [get] |
virtual bool | Building [get, set] |
abstract bool | Stopped [get] |
abstract Vector3 | Size [get, set] |
virtual bool | Phantom [get, set] |
virtual bool | IsVolumeDtc [get, set] |
virtual byte | PhysicsShapeType [get, set] |
abstract PrimitiveBaseShape | Shape [set] |
virtual uint | LocalID [get, set] |
abstract bool | Grabbed [set] |
abstract bool | Selected [set] |
string | Name [get, set] |
Name of this actor. More... | |
virtual float | Density [get, set] |
virtual float | GravModifier [get, set] |
virtual float | Friction [get, set] |
virtual float | Restitution [get, set] |
abstract Vector3 | Position [get, set] |
Position of this actor. More... | |
abstract float | Mass [get] |
abstract Vector3 | Force [get, set] |
abstract int | VehicleType [get, set] |
abstract Vector3 | GeometricCenter [get] |
abstract Vector3 | CenterOfMass [get] |
virtual float | PhysicsCost [get] |
virtual float | StreamCost [get] |
virtual Vector3 | TargetVelocity [get, set] |
abstract Vector3 | Velocity [get, set] |
abstract Vector3 | Torque [get, set] |
abstract float | CollisionScore [get, set] |
abstract Vector3 | Acceleration [get, set] |
abstract Quaternion | Orientation [get, set] |
abstract int | PhysicsActorType [get, set] |
abstract bool | IsPhysical [get, set] |
abstract bool | Flying [get, set] |
abstract bool | SetAlwaysRun [get, set] |
abstract bool | ThrottleUpdates [get, set] |
abstract bool | IsColliding [get, set] |
abstract bool | CollidingGround [get, set] |
abstract bool | CollidingObj [get, set] |
abstract bool | FloatOnWater [set] |
abstract Vector3 | RotationalVelocity [get, set] |
abstract bool | Kinematic [get, set] |
abstract float | Buoyancy [get, set] |
abstract Vector3 | PIDTarget [set] |
abstract bool | PIDActive [get, set] |
abstract float | PIDTau [set] |
abstract bool | PIDHoverActive [get, set] |
abstract float | PIDHoverHeight [set] |
abstract PIDHoverType | PIDHoverType [set] |
abstract float | PIDHoverTau [set] |
abstract Quaternion | APIDTarget [set] |
abstract bool | APIDActive [set] |
abstract float | APIDStrength [set] |
abstract float | APIDDamping [set] |
virtual PhysicsActor | ParentActor [get] |
Events | |
PreUpdatePropertyAction | OnPreUpdateProperty |
Events inherited from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor | |
PositionUpdate | OnPositionUpdate |
VelocityUpdate | OnVelocityUpdate |
OrientationUpdate | OnOrientationUpdate |
RequestTerseUpdate | OnRequestTerseUpdate |
CollisionUpdate | OnCollisionUpdate |
Subscribers to this event must synchronously handle the dictionary of collisions received, since the event object is reused in subsequent physics frames. More... | |
OutOfBounds | OnOutOfBounds |
Definition at line 68 of file BSPhysObject.cs.
Enumerator | |
---|---|
Unknown | |
Waiting | |
FailedAssetFetch | |
FailedMeshing | |
Fetched |
Definition at line 165 of file BSPhysObject.cs.
|
inlineprotected |
Definition at line 70 of file BSPhysObject.cs.
|
inlineprotected |
Definition at line 73 of file BSPhysObject.cs.
|
inline |
Definition at line 330 of file BSPhysObject.cs.
|
inline |
Definition at line 246 of file BSPhysObject.cs.
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable.
Definition at line 461 of file BSPhysObject.cs.
|
inline |
Definition at line 612 of file BSPhysObject.cs.
delegate BSActor OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.CreateActor | ( | ) |
|
inlinevirtual |
Reimplemented in OpenSim.Region.PhysicsModule.BulletS.BSCharacter, OpenSim.Region.PhysicsModule.BulletS.BSPrim, and OpenSim.Region.PhysicsModule.BulletS.BSPrimLinkable.
Definition at line 120 of file BSPhysObject.cs.
|
inlineprotected |
Definition at line 641 of file BSPhysObject.cs.
|
inline |
Definition at line 354 of file BSPhysObject.cs.
|
inlinevirtual |
Reimplemented in OpenSim.Region.PhysicsModule.BulletS.BSPrim.
Definition at line 257 of file BSPhysObject.cs.
delegate void OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.PreUpdatePropertyAction | ( | ref EntityProperties | entprop | ) |
|
inlinevirtual |
Definition at line 533 of file BSPhysObject.cs.
|
inlinevirtual |
Reimplemented from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Reimplemented in OpenSim.Region.PhysicsModule.BulletS.BSPrim.
Definition at line 200 of file BSPhysObject.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 606 of file BSPhysObject.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 571 of file BSPhysObject.cs.
|
inlineprotected |
Definition at line 631 of file BSPhysObject.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 595 of file BSPhysObject.cs.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
bool OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.ColliderIsMoving |
Definition at line 399 of file BSPhysObject.cs.
bool OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.ColliderIsVolumeDetect |
Definition at line 401 of file BSPhysObject.cs.
|
protected |
Definition at line 448 of file BSPhysObject.cs.
CollisionEventUpdate OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.CollisionsLastReported = new CollisionEventUpdate() |
Definition at line 450 of file BSPhysObject.cs.
CollisionEventUpdate OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.CollisionsLastTick = new CollisionEventUpdate() |
Definition at line 453 of file BSPhysObject.cs.
const float OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.FreeAxis = 1f |
Definition at line 315 of file BSPhysObject.cs.
bool OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.IsStationary |
Definition at line 403 of file BSPhysObject.cs.
OMV.Vector3 OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.LockedAngularAxis |
Definition at line 314 of file BSPhysObject.cs.
OMV.Vector3 OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.LockedAngularAxisHigh |
Definition at line 325 of file BSPhysObject.cs.
OMV.Vector3 OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.LockedAngularAxisLow |
Definition at line 324 of file BSPhysObject.cs.
const float OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.LockedAxis = 0f |
Definition at line 316 of file BSPhysObject.cs.
readonly OMV.Vector3 OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.LockedAxisFree = new OMV.Vector3(FreeAxis, FreeAxis, FreeAxis) |
Definition at line 317 of file BSPhysObject.cs.
OMV.Vector3 OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.LockedLinearAxis |
Definition at line 313 of file BSPhysObject.cs.
OMV.Vector3 OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.LockedLinearAxisHigh |
Definition at line 323 of file BSPhysObject.cs.
OMV.Vector3 OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.LockedLinearAxisLow |
Definition at line 322 of file BSPhysObject.cs.
BulletBody OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.PhysBody = new BulletBody(0) |
Definition at line 159 of file BSPhysObject.cs.
BSActorCollection OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.PhysicalActors = new BSActorCollection() |
Definition at line 625 of file BSPhysObject.cs.
BSShape OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.PhysShape = new BSShapeNull() |
Definition at line 161 of file BSPhysObject.cs.
|
set |
Definition at line 285 of file BSPhysObject.cs.
|
set |
Definition at line 287 of file BSPhysObject.cs.
|
set |
Definition at line 286 of file BSPhysObject.cs.
|
set |
Definition at line 284 of file BSPhysObject.cs.
|
getset |
Definition at line 177 of file BSPhysObject.cs.
|
getset |
Definition at line 427 of file BSPhysObject.cs.
|
getsetprotected |
Definition at line 392 of file BSPhysObject.cs.
|
getset |
Definition at line 437 of file BSPhysObject.cs.
|
getsetprotected |
Definition at line 394 of file BSPhysObject.cs.
|
getsetprotected |
Definition at line 390 of file BSPhysObject.cs.
|
getsetprotected |
Definition at line 406 of file BSPhysObject.cs.
|
getset |
Definition at line 619 of file BSPhysObject.cs.
|
getsetprotected |
Definition at line 396 of file BSPhysObject.cs.
|
getset |
Definition at line 182 of file BSPhysObject.cs.
|
getset |
Definition at line 214 of file BSPhysObject.cs.
|
getset |
Definition at line 255 of file BSPhysObject.cs.
|
getset |
Definition at line 237 of file BSPhysObject.cs.
|
getset |
Definition at line 234 of file BSPhysObject.cs.
|
getset |
Definition at line 253 of file BSPhysObject.cs.
|
getset |
Definition at line 240 of file BSPhysObject.cs.
|
get |
Definition at line 291 of file BSPhysObject.cs.
|
getset |
Definition at line 154 of file BSPhysObject.cs.
|
getset |
Definition at line 423 of file BSPhysObject.cs.
|
getset |
Definition at line 278 of file BSPhysObject.cs.
|
getset |
Definition at line 279 of file BSPhysObject.cs.
|
getset |
Definition at line 281 of file BSPhysObject.cs.
|
getset |
Definition at line 280 of file BSPhysObject.cs.
|
getset |
Definition at line 156 of file BSPhysObject.cs.
|
getset |
Definition at line 408 of file BSPhysObject.cs.
|
get |
Definition at line 145 of file BSPhysObject.cs.
|
getset |
Definition at line 136 of file BSPhysObject.cs.
|
get |
Definition at line 190 of file BSPhysObject.cs.
|
get |
Definition at line 195 of file BSPhysObject.cs.
|
get |
Definition at line 193 of file BSPhysObject.cs.
|
get |
Definition at line 194 of file BSPhysObject.cs.
|
get |
Definition at line 196 of file BSPhysObject.cs.
|
getset |
Definition at line 183 of file BSPhysObject.cs.
|
getset |
Definition at line 199 of file BSPhysObject.cs.
|
getset |
Definition at line 268 of file BSPhysObject.cs.
|
getset |
Definition at line 269 of file BSPhysObject.cs.
|
getset |
Definition at line 270 of file BSPhysObject.cs.
|
getsetprotected |
Definition at line 388 of file BSPhysObject.cs.
|
getset |
Definition at line 131 of file BSPhysObject.cs.
|
getset |
Definition at line 129 of file BSPhysObject.cs.
|
getset |
Definition at line 260 of file BSPhysObject.cs.
|
getset |
Definition at line 273 of file BSPhysObject.cs.
|
set |
Definition at line 274 of file BSPhysObject.cs.
|
set |
Definition at line 276 of file BSPhysObject.cs.
|
set |
Definition at line 275 of file BSPhysObject.cs.
|
set |
Definition at line 265 of file BSPhysObject.cs.
|
set |
Definition at line 266 of file BSPhysObject.cs.
|
getset |
Definition at line 169 of file BSPhysObject.cs.
|
getset |
Definition at line 243 of file BSPhysObject.cs.
|
get |
Definition at line 148 of file BSPhysObject.cs.
|
getset |
Definition at line 236 of file BSPhysObject.cs.
|
getset |
Definition at line 233 of file BSPhysObject.cs.
|
getset |
Definition at line 244 of file BSPhysObject.cs.
|
getset |
Definition at line 239 of file BSPhysObject.cs.
|
getset |
Definition at line 185 of file BSPhysObject.cs.
|
getsetprotected |
Definition at line 386 of file BSPhysObject.cs.
|
get |
Definition at line 300 of file BSPhysObject.cs.
|
getset |
Definition at line 132 of file BSPhysObject.cs.
|
getset |
Definition at line 311 of file BSPhysObject.cs.
PreUpdatePropertyAction OpenSim.Region.PhysicsModule.BulletS.BSPhysObject.OnPreUpdateProperty |
Definition at line 630 of file BSPhysObject.cs.