OpenSim
|
Public Member Functions | |
OdeCharacter (uint localID, String avName, ODEScene parent_scene, Vector3 pos, Vector3 pSize, float pfeetOffset, float density, float walk_divisor, float rundivisor) | |
override void | getContactData (ref ContactData cdata) |
void | SetPidStatus (bool status) |
turn the PID controller on or off. The PID Controller will turn on all by itself in many situations More... | |
override void | setAvatarSize (Vector3 size, float feetOffset) |
override void | link (PhysicsActor obj) |
override void | delink () |
override void | LockAngularMotion (byte axislocks) |
override void | VehicleFloatParam (int param, float value) |
override void | VehicleVectorParam (int param, Vector3 value) |
override void | VehicleRotationParam (int param, Quaternion rotation) |
override void | VehicleFlags (int param, bool remove) |
override void | SetVolumeDetect (int param) |
Allows the detection of collisions with inherently non-physical prims. see llVolumeDetect for more More... | |
void | SetAcceleration (Vector3 accel) |
override void | AddForce (Vector3 force, bool pushforce) |
Adds the force supplied to the Target Velocity The PID controller takes this target velocity and tries to make it a reality More... | |
override void | AddAngularForce (Vector3 force, bool pushforce) |
override void | SetMomentum (Vector3 momentum) |
void | RotateXYonZ (ref float x, ref float y, ref Quaternion rot) |
void | RotateXYonZ (ref float x, ref float y, ref float sin, ref float cos) |
void | invRotateXYonZ (ref float x, ref float y, ref float sin, ref float cos) |
void | invRotateXYonZ (ref float x, ref float y, ref Quaternion rot) |
bool | Collide (IntPtr me, IntPtr other, bool reverse, ref d.ContactGeom contact, ref d.ContactGeom altContact, ref bool useAltcontact, ref bool feetcollision) |
void | Move (List< OdeCharacter > defects) |
Called from Simulate This is the avatar's movement control + PID Controller More... | |
void | round (ref Vector3 v, int digits) |
void | SetSmooth (ref Vector3 dst, ref Vector3 value) |
void | SetSmooth (ref Vector3 dst, ref Vector3 value, int rounddigits) |
void | UpdatePositionAndVelocity () |
Updates the reported position and velocity. Used to copy variables from unmanaged space at heartbeat rate and also trigger scene updates acording also outbounds checking copy and outbounds now done in move(..) at ode rate More... | |
void | Destroy () |
Cleanup the things we use in the scene. More... | |
override void | CrossingFailure () |
override void | SubscribeEvents (int ms) |
override void | UnSubscribeEvents () |
override void | AddCollisionEvent (uint CollidedWith, ContactPoint contact) |
void | SendCollisions () |
override bool | SubscribedEvents () |
bool | DoAChange (changes what, object arg) |
void | AddChange (changes what, object arg) |
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 | RequestPhysicsterseUpdate () |
virtual void | RaiseOutOfBounds (Vector3 pos) |
virtual void | SendCollisionUpdate (EventArgs e) |
virtual void | SetMaterial (int material) |
virtual void | SetVehicle (object pvdata) |
virtual object | Extension (string pFunct, params object[] pParams) |
Public Attributes | |
float | m_density = 60f |
float | PID_D |
float | PID_P |
float | walkDivisor = 1.3f |
float | runDivisor = 0.8f |
bool | m_returnCollisions = false |
bool | m_isPhysical = false |
float | MinimumGroundFlightOffset = 3f |
IntPtr | Body = IntPtr.Zero |
IntPtr | collider = IntPtr.Zero |
IntPtr | Amotor = IntPtr.Zero |
d.Mass | ShellMass |
int | m_eventsubscription = 0 |
UUID | m_uuid |
bool | bad = false |
Public Attributes inherited from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor | |
string | SOPName |
This is being used by ODE joint code. More... | |
Properties | |
override int | PhysicsActorType [get, set] |
override bool | Building [get, set] |
override bool | SetAlwaysRun [get, set] |
If this is set, the avatar will move faster More... | |
override uint | LocalID [get, set] |
override PhysicsActor | ParentActor [get] |
override bool | Grabbed [set] |
override bool | Selected [set] |
override float | Buoyancy [get, set] |
override bool | FloatOnWater [set] |
override bool | IsPhysical [get, set] |
override bool | ThrottleUpdates [get, set] |
override bool | Flying [get, set] |
override bool | IsColliding [get, set] |
Returns if the avatar is colliding in general. This includes the ground and objects and avatar. More... | |
override bool | CollidingGround [get, set] |
Returns if an avatar is colliding with the ground More... | |
override bool | CollidingObj [get, set] |
Returns if the avatar is colliding with an object More... | |
override bool | Stopped [get] |
override Vector3 | Position [get, set] |
This 'puts' an avatar somewhere in the physics space. Not really a good choice unless you 'know' it's a good spot otherwise you're likely to orbit the avatar. More... | |
override Vector3 | RotationalVelocity [get, set] |
override Vector3 | Size [get, set] |
This property sets the height of the avatar only. We use the height to make sure the avatar stands up straight and use it to offset landings properly More... | |
override float | Mass [get] |
This creates the Avatar's physical Surrogate at the position supplied More... | |
override Vector3 | Force [get, set] |
override int | VehicleType [get, set] |
override Vector3 | CenterOfMass [get] |
override Vector3 | GeometricCenter [get] |
override PrimitiveBaseShape | Shape [set] |
override Vector3 | Velocity [get, set] |
override Vector3 | Torque [get, set] |
override float | CollisionScore [get, set] |
override bool | Kinematic [get, set] |
override Quaternion | Orientation [get, set] |
override Vector3 | Acceleration [get, set] |
override Vector3 | PIDTarget [set] |
override bool | PIDActive [get, set] |
override float | PIDTau [set] |
override float | PIDHoverHeight [set] |
override bool | PIDHoverActive [get, set] |
override PIDHoverType | PIDHoverType [set] |
override float | PIDHoverTau [set] |
override Quaternion | APIDTarget [set] |
override bool | APIDActive [set] |
override float | APIDStrength [set] |
override float | APIDDamping [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] |
Additional Inherited Members | |
Protected Attributes inherited from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor | |
Vector3 | m_targetVelocity |
The desired velocity of this actor. More... | |
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 71 of file ODECharacter.cs.
|
inline |
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 694 of file ODECharacter.cs.
|
inline |
Definition at line 1966 of file ODECharacter.cs.
|
inlinevirtual |
Reimplemented from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 1549 of file ODECharacter.cs.
|
inlinevirtual |
Adds the force supplied to the Target Velocity The PID controller takes this target velocity and tries to make it a reality
force |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 674 of file ODECharacter.cs.
|
inline |
Definition at line 877 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 1466 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 537 of file ODECharacter.cs.
|
inline |
Cleanup the things we use in the scene.
Definition at line 1461 of file ODECharacter.cs.
|
inline |
Definition at line 1834 of file ODECharacter.cs.
|
inlinevirtual |
Reimplemented from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 239 of file ODECharacter.cs.
|
inline |
Definition at line 860 of file ODECharacter.cs.
|
inline |
Definition at line 867 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 532 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 542 of file ODECharacter.cs.
|
inline |
Called from Simulate This is the avatar's movement control + PID Controller
timeStep |
Definition at line 984 of file ODECharacter.cs.
|
inline |
Definition at line 845 of file ODECharacter.cs.
|
inline |
Definition at line 854 of file ODECharacter.cs.
|
inline |
Definition at line 1415 of file ODECharacter.cs.
|
inline |
Definition at line 1560 of file ODECharacter.cs.
|
inline |
Definition at line 663 of file ODECharacter.cs.
|
inlinevirtual |
Reimplemented from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 491 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 699 of file ODECharacter.cs.
|
inline |
turn the PID controller on or off. The PID Controller will turn on all by itself in many situations
status |
Definition at line 416 of file ODECharacter.cs.
|
inline |
Definition at line 1422 of file ODECharacter.cs.
|
inline |
Definition at line 1429 of file ODECharacter.cs.
|
inlinevirtual |
Allows the detection of collisions with inherently non-physical prims. see llVolumeDetect for more
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 580 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 1599 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 1527 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 1536 of file ODECharacter.cs.
|
inline |
Updates the reported position and velocity. Used to copy variables from unmanaged space at heartbeat rate and also trigger scene updates acording also outbounds checking copy and outbounds now done in move(..) at ode rate
Definition at line 1449 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 575 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 560 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 570 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 565 of file ODECharacter.cs.
IntPtr OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.Amotor = IntPtr.Zero |
Definition at line 145 of file ODECharacter.cs.
bool OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.bad = false |
Definition at line 156 of file ODECharacter.cs.
IntPtr OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.Body = IntPtr.Zero |
Definition at line 140 of file ODECharacter.cs.
IntPtr OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.collider = IntPtr.Zero |
Definition at line 143 of file ODECharacter.cs.
float OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.m_density = 60f |
Definition at line 86 of file ODECharacter.cs.
int OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.m_eventsubscription = 0 |
Definition at line 149 of file ODECharacter.cs.
bool OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.m_isPhysical = false |
Definition at line 117 of file ODECharacter.cs.
bool OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.m_returnCollisions = false |
Definition at line 115 of file ODECharacter.cs.
UUID OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.m_uuid |
Definition at line 155 of file ODECharacter.cs.
float OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.MinimumGroundFlightOffset = 3f |
Definition at line 118 of file ODECharacter.cs.
float OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.PID_D |
Definition at line 91 of file ODECharacter.cs.
float OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.PID_P |
Definition at line 92 of file ODECharacter.cs.
float OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.runDivisor = 0.8f |
Definition at line 104 of file ODECharacter.cs.
d.Mass OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.ShellMass |
Definition at line 147 of file ODECharacter.cs.
float OpenSim.Region.PhysicsModule.ubOde.OdeCharacter.walkDivisor = 1.3f |
Definition at line 103 of file ODECharacter.cs.
|
getset |
Definition at line 658 of file ODECharacter.cs.
|
set |
Definition at line 1520 of file ODECharacter.cs.
|
set |
Definition at line 1524 of file ODECharacter.cs.
|
set |
Definition at line 1522 of file ODECharacter.cs.
|
set |
Definition at line 1518 of file ODECharacter.cs.
|
getset |
Definition at line 246 of file ODECharacter.cs.
|
getset |
Definition at line 279 of file ODECharacter.cs.
|
get |
Definition at line 586 of file ODECharacter.cs.
|
getset |
Returns if an avatar is colliding with the ground
Definition at line 348 of file ODECharacter.cs.
|
getset |
Returns if the avatar is colliding with an object
Definition at line 379 of file ODECharacter.cs.
|
getset |
Definition at line 634 of file ODECharacter.cs.
|
set |
Definition at line 285 of file ODECharacter.cs.
|
getset |
Definition at line 302 of file ODECharacter.cs.
|
getset |
Definition at line 549 of file ODECharacter.cs.
|
get |
Definition at line 595 of file ODECharacter.cs.
|
set |
Definition at line 269 of file ODECharacter.cs.
|
getset |
Returns if the avatar is colliding in general. This includes the ground and objects and avatar.
Definition at line 316 of file ODECharacter.cs.
|
getset |
Definition at line 290 of file ODECharacter.cs.
|
getset |
Definition at line 640 of file ODECharacter.cs.
|
getset |
Definition at line 258 of file ODECharacter.cs.
|
get |
This creates the Avatar's physical Surrogate at the position supplied
npositionX | |
npositionY | |
npositionZ |
Uses the capped cyllinder volume formula to calculate the avatar's mass. This may be used in calculations in the scene/scenepresence
Definition at line 526 of file ODECharacter.cs.
|
getset |
Definition at line 646 of file ODECharacter.cs.
|
get |
Definition at line 264 of file ODECharacter.cs.
|
getset |
Definition at line 234 of file ODECharacter.cs.
|
getset |
Definition at line 1471 of file ODECharacter.cs.
|
getset |
Definition at line 1482 of file ODECharacter.cs.
|
set |
Definition at line 1475 of file ODECharacter.cs.
|
set |
Definition at line 1502 of file ODECharacter.cs.
|
set |
Definition at line 1494 of file ODECharacter.cs.
|
set |
Definition at line 1470 of file ODECharacter.cs.
|
set |
Definition at line 1472 of file ODECharacter.cs.
|
getset |
This 'puts' an avatar somewhere in the physics space. Not really a good choice unless you 'know' it's a good spot otherwise you're likely to orbit the avatar.
Definition at line 432 of file ODECharacter.cs.
|
getset |
Definition at line 456 of file ODECharacter.cs.
|
set |
Definition at line 274 of file ODECharacter.cs.
|
getset |
If this is set, the avatar will move faster
Definition at line 252 of file ODECharacter.cs.
|
set |
Definition at line 604 of file ODECharacter.cs.
|
getset |
This property sets the height of the avatar only. We use the height to make sure the avatar stands up straight and use it to offset landings properly
Definition at line 466 of file ODECharacter.cs.
|
get |
Definition at line 422 of file ODECharacter.cs.
|
getset |
Definition at line 296 of file ODECharacter.cs.
|
getset |
Definition at line 628 of file ODECharacter.cs.
|
getset |
Definition at line 555 of file ODECharacter.cs.
|
getset |
Definition at line 609 of file ODECharacter.cs.