OpenSim
|
Public Member Functions | |
OdeCharacter (String avName, OdeScene parent_scene, Vector3 pos, Vector3 vel, Vector3 size, float pid_d, float pid_p, float capsule_radius, float tensor, float density, float walk_divisor, float rundivisor) | |
ODE Avatar. More... | |
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 | 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... | |
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) |
override void | CrossingFailure () |
override void | SubscribeEvents (int ms) |
override void | UnSubscribeEvents () |
override void | AddCollisionEvent (uint CollidedWith, ContactPoint contact) |
override bool | SubscribedEvents () |
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) |
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) |
Properties | |
override int | PhysicsActorType [get, set] |
override bool | SetAlwaysRun [get, set] |
If this is set, the avatar will move faster More... | |
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] |
Uses the capped cyllinder volume formula to calculate the avatar's mass. This may be used in calculations in the scene/scenepresence 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 | TargetVelocity [get, 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 | |
Public Attributes inherited from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor | |
string | SOPName |
This is being used by ODE joint code. More... | |
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 66 of file ODECharacter.cs.
|
inline |
ODE Avatar.
avName | |
parent_scene | |
pos | |
vel | |
size | |
pid_d | |
pid_p | |
capsule_radius | |
tensor | |
density | Only used right now to return information to LSL. Not actually used to set mass in ODE! |
walk_divisor | |
rundivisor |
Definition at line 180 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 781 of file ODECharacter.cs.
|
inlinevirtual |
Reimplemented from OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 1293 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 750 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 1246 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 595 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 593 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 597 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 785 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 431 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 650 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 1315 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 1271 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 1282 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 646 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 634 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 642 of file ODECharacter.cs.
|
inlinevirtual |
Implements OpenSim.Region.PhysicsModules.SharedBase.PhysicsActor.
Definition at line 638 of file ODECharacter.cs.
|
getset |
Definition at line 740 of file ODECharacter.cs.
|
set |
Definition at line 1265 of file ODECharacter.cs.
|
set |
Definition at line 1269 of file ODECharacter.cs.
|
set |
Definition at line 1267 of file ODECharacter.cs.
|
set |
Definition at line 1263 of file ODECharacter.cs.
|
getset |
Definition at line 270 of file ODECharacter.cs.
|
get |
Definition at line 655 of file ODECharacter.cs.
|
getset |
Returns if an avatar is colliding with the ground
Definition at line 360 of file ODECharacter.cs.
|
getset |
Returns if the avatar is colliding with an object
Definition at line 414 of file ODECharacter.cs.
|
getset |
Definition at line 718 of file ODECharacter.cs.
|
set |
Definition at line 276 of file ODECharacter.cs.
|
getset |
Definition at line 293 of file ODECharacter.cs.
|
getset |
Definition at line 623 of file ODECharacter.cs.
|
get |
Definition at line 660 of file ODECharacter.cs.
|
set |
Definition at line 260 of file ODECharacter.cs.
|
getset |
Returns if the avatar is colliding in general. This includes the ground and objects and avatar.
Definition at line 307 of file ODECharacter.cs.
|
getset |
Definition at line 281 of file ODECharacter.cs.
|
getset |
Definition at line 724 of file ODECharacter.cs.
|
get |
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 585 of file ODECharacter.cs.
|
getset |
Definition at line 730 of file ODECharacter.cs.
|
getset |
Definition at line 245 of file ODECharacter.cs.
|
getset |
Definition at line 1252 of file ODECharacter.cs.
|
getset |
Definition at line 1259 of file ODECharacter.cs.
|
set |
Definition at line 1258 of file ODECharacter.cs.
|
set |
Definition at line 1261 of file ODECharacter.cs.
|
set |
Definition at line 1260 of file ODECharacter.cs.
|
set |
Definition at line 1250 of file ODECharacter.cs.
|
set |
Definition at line 1256 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 447 of file ODECharacter.cs.
|
getset |
Definition at line 476 of file ODECharacter.cs.
|
set |
Definition at line 265 of file ODECharacter.cs.
|
getset |
If this is set, the avatar will move faster
Definition at line 254 of file ODECharacter.cs.
|
set |
Definition at line 665 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 486 of file ODECharacter.cs.
|
get |
Definition at line 437 of file ODECharacter.cs.
|
getset |
Definition at line 670 of file ODECharacter.cs.
|
getset |
Definition at line 287 of file ODECharacter.cs.
|
getset |
Definition at line 712 of file ODECharacter.cs.
|
getset |
Definition at line 629 of file ODECharacter.cs.
|
getset |
Definition at line 684 of file ODECharacter.cs.