메소드 | 설명 | |
---|---|---|
AddAvatar ( string avName, System.Vector3 position, System.Vector3 size, bool isFlying ) : PhysicsActor | ||
AddPhysicsActorTaint ( PhysicsActor prim ) : void | ||
AddPrimShape ( string primName, OpenSim.Framework.PrimitiveBaseShape pbs, System.Vector3 position, System.Vector3 size, Quaternion rotation ) : PhysicsActor | ||
AddPrimShape ( string primName, OpenSim.Framework.PrimitiveBaseShape pbs, System.Vector3 position, System.Vector3 size, Quaternion rotation, bool isPhysical ) : PhysicsActor | ||
Combine ( PhysicsScene pScene, System.Vector3 offset, System.Vector3 extents ) : void | ||
DeleteTerrain ( ) : void | ||
Dispose ( ) : void | ||
DumpJointInfo ( ) : void | ||
GetJointAnchor ( OpenSim.Region.Physics.Manager.PhysicsJoint joint ) : System.Vector3 | ||
GetJointAxis ( OpenSim.Region.Physics.Manager.PhysicsJoint joint ) : System.Vector3 | ||
GetResults ( ) : void | ||
GetTopColliders ( ) : float>.Dictionary |
||
Initialise ( IMesher meshmerizer, IVoxelMesher voxmesher, IConfigSource config ) : void | ||
RaycastWorld ( System.Vector3 position, System.Vector3 direction, float length, RaycastCallback retMethod ) : void |
Queue a raycast against the physics scene. The provided callback method will be called when the raycast is complete Many physics engines don't support collision testing at the same time as manipulating the physics scene, so we queue the request up and callback a custom method when the raycast is complete. This allows physics engines that give an immediate result to callback immediately and ones that don't, to callback when it gets a result back. ODE for example will not allow you to change the scene while collision testing or it asserts, 'opteration not valid for locked space'. This includes adding a ray to the scene. This is named RayCastWorld to not conflict with modrex's Raycast method.
|
|
RemoveAllJointsConnectedToActorThreadLocked ( PhysicsActor actor ) : void | ||
RemoveAvatar ( PhysicsActor actor ) : void | ||
RemovePrim ( PhysicsActor prim ) : void | ||
RequestJointCreation ( string objectNameInScene, PhysicsJointType jointType, System.Vector3 position, Quaternion rotation, string parms, List |
||
RequestJointDeletion ( string objectNameInScene ) : void | ||
SetTerrain ( bool heightMap ) : void | ||
SetWaterLevel ( float baseheight ) : void | ||
Simulate ( float timeStep ) : float | ||
SupportsCombining ( ) : bool | ||
SupportsRayCast ( ) : bool |
True if the physics plugin supports raycasting against the physics scene
|
|
TriggerPhysicsBasedRestart ( ) : void | ||
UnCombine ( PhysicsScene pScene ) : void |
메소드 | 설명 | |
---|---|---|
DoJointDeactivated ( OpenSim.Region.Physics.Manager.PhysicsJoint joint ) : void | ||
DoJointErrorMessage ( OpenSim.Region.Physics.Manager.PhysicsJoint joint, string message ) : void | ||
DoJointMoved ( OpenSim.Region.Physics.Manager.PhysicsJoint joint ) : void |
public abstract AddAvatar ( string avName, System.Vector3 position, System.Vector3 size, bool isFlying ) : PhysicsActor | ||
avName | string | |
position | System.Vector3 | |
size | System.Vector3 | |
isFlying | bool | |
리턴 | PhysicsActor |
public abstract AddPhysicsActorTaint ( PhysicsActor prim ) : void | ||
prim | PhysicsActor | |
리턴 | void |
public abstract AddPrimShape ( string primName, OpenSim.Framework.PrimitiveBaseShape pbs, System.Vector3 position, System.Vector3 size, Quaternion rotation ) : PhysicsActor | ||
primName | string | |
pbs | OpenSim.Framework.PrimitiveBaseShape | |
position | System.Vector3 | |
size | System.Vector3 | |
rotation | Quaternion | |
리턴 | PhysicsActor |
public abstract AddPrimShape ( string primName, OpenSim.Framework.PrimitiveBaseShape pbs, System.Vector3 position, System.Vector3 size, Quaternion rotation, bool isPhysical ) : PhysicsActor | ||
primName | string | |
pbs | OpenSim.Framework.PrimitiveBaseShape | |
position | System.Vector3 | |
size | System.Vector3 | |
rotation | Quaternion | |
isPhysical | bool | |
리턴 | PhysicsActor |
public Combine ( PhysicsScene pScene, System.Vector3 offset, System.Vector3 extents ) : void | ||
pScene | PhysicsScene | |
offset | System.Vector3 | |
extents | System.Vector3 | |
리턴 | void |
protected DoJointDeactivated ( OpenSim.Region.Physics.Manager.PhysicsJoint joint ) : void | ||
joint | OpenSim.Region.Physics.Manager.PhysicsJoint | |
리턴 | void |
protected DoJointErrorMessage ( OpenSim.Region.Physics.Manager.PhysicsJoint joint, string message ) : void | ||
joint | OpenSim.Region.Physics.Manager.PhysicsJoint | |
message | string | |
리턴 | void |
protected DoJointMoved ( OpenSim.Region.Physics.Manager.PhysicsJoint joint ) : void | ||
joint | OpenSim.Region.Physics.Manager.PhysicsJoint | |
리턴 | void |
public GetJointAnchor ( OpenSim.Region.Physics.Manager.PhysicsJoint joint ) : System.Vector3 | ||
joint | OpenSim.Region.Physics.Manager.PhysicsJoint | |
리턴 | System.Vector3 |
public GetJointAxis ( OpenSim.Region.Physics.Manager.PhysicsJoint joint ) : System.Vector3 | ||
joint | OpenSim.Region.Physics.Manager.PhysicsJoint | |
리턴 | System.Vector3 |
public abstract GetTopColliders ( ) : float>.Dictionary |
||
리턴 | float>.Dictionary |
public abstract Initialise ( IMesher meshmerizer, IVoxelMesher voxmesher, IConfigSource config ) : void | ||
meshmerizer | IMesher | |
voxmesher | IVoxelMesher | |
config | IConfigSource | |
리턴 | void |
public RaycastWorld ( System.Vector3 position, System.Vector3 direction, float length, RaycastCallback retMethod ) : void | ||
position | System.Vector3 | Origin of the ray |
direction | System.Vector3 | Direction of the ray |
length | float | Length of ray in meters |
retMethod | RaycastCallback | Method to call when the raycast is complete |
리턴 | void |
public RemoveAllJointsConnectedToActorThreadLocked ( PhysicsActor actor ) : void | ||
actor | PhysicsActor | |
리턴 | void |
public abstract RemoveAvatar ( PhysicsActor actor ) : void | ||
actor | PhysicsActor | |
리턴 | void |
public abstract RemovePrim ( PhysicsActor prim ) : void | ||
prim | PhysicsActor | |
리턴 | void |
public RequestJointCreation ( string objectNameInScene, PhysicsJointType jointType, System.Vector3 position, Quaternion rotation, string parms, List |
||
objectNameInScene | string | |
jointType | PhysicsJointType | |
position | System.Vector3 | |
rotation | Quaternion | |
parms | string | |
bodyNames | List |
|
trackedBodyName | string | |
localRotation | Quaternion | |
리턴 | OpenSim.Region.Physics.Manager.PhysicsJoint |
public RequestJointDeletion ( string objectNameInScene ) : void | ||
objectNameInScene | string | |
리턴 | void |
public abstract SetTerrain ( bool heightMap ) : void | ||
heightMap | bool | |
리턴 | void |
public abstract SetWaterLevel ( float baseheight ) : void | ||
baseheight | float | |
리턴 | void |