Method | Description | |
---|---|---|
Activate ( ) : void | ||
AddContactEntity ( idEntity entity ) : void | ||
AddForce ( int id, Vector3 point, Vector3 force ) : void | ||
ApplyImpulse ( int id, Vector3 point, Vector3 impulse ) : void | ||
ClearContacts ( ) : void | ||
ClipContents ( |
||
ClipRotation ( idRotation rotation, |
||
ClipTranslation ( Vector3 translation, |
||
DisableClip ( ) : void |
Disable the clip models contained by this physics object.
|
|
Dispose ( ) : void | ||
EnableClip ( ) : void |
Enable the clip models contained by this physics object.
|
|
Evaluate ( int timeStep, int endTime ) : bool |
Evaluate the physics with the given time step, returns true if the object moved.
|
|
EvaluateContacts ( ) : bool | ||
GetAbsoluteBounds ( int id = -1 ) : idBounds |
Get the bounds of a specific clip model or the whole physics object.
|
|
GetAngularVelocity ( int id ) : Vector3 | ||
GetAxis ( int id ) : Matrix | ||
GetBounds ( int id = -1 ) : idBounds |
Get the bounds of a specific clip model or the whole physics object.
|
|
GetClipMask ( int id = -1 ) : ContentFlags |
Get the contents a specific clip model or the whole physics object collides with.
|
|
GetClipModel ( int id ) : |
||
GetContact ( int index ) : |
||
GetContents ( int id = -1 ) : ContentFlags |
Get the contents of a specific clip model or the whole physics object.
|
|
GetImpactInfo ( int id, Vector3 point ) : |
||
GetLinearVelocity ( int id ) : Vector3 | ||
GetMass ( int id = -1 ) : float |
Get the mass of a specific clip model or the whole physics object.
|
|
GetOrigin ( int id ) : Vector3 | ||
GetPushedAngularVelocity ( int id ) : Vector3 | ||
GetPushedLinearVelocity ( int id ) : Vector3 | ||
IsGroundClipModel ( int index, int id ) : bool | ||
IsGroundEntity ( int index ) : bool | ||
LinkClip ( ) : void |
Link the clip models contained by this physics object.
|
|
PutToRest ( ) : void | ||
ReadFromSnapshot ( idBitMsgDelta msg ) : void | ||
RemoveContactEntity ( idEntity entity ) : void | ||
Restore ( object saveFile ) : void | ||
RestoreState ( ) : void | ||
Rotate ( idRotation rotation, int id = 1 ) : void |
Rotate the physics object in world space.
|
|
Save ( object saveFile ) : void | ||
SaveState ( ) : void | ||
SetAngularVelocity ( Vector3 velocity, int id ) : void | ||
SetAxis ( Matrix axis, int id = -1 ) : void |
Set the orientation in master space or world space if no master set.
|
|
SetClipBox ( idBounds bounds, float density ) : void | ||
SetClipMask ( ContentFlags mask, int id = -1 ) : void |
Set the contents a specific clip model or the whole physics object collides with.
|
|
SetClipModel ( |
||
SetContents ( ContentFlags contents, int id = -1 ) : void |
Set the contents of a specific clip model or the whole physics object.
|
|
SetLinearVelocity ( Vector3 velocity, int id ) : void | ||
SetMass ( float mass, int id = -1 ) : void |
Set the mass of a specific clip model or the whole physics object.
|
|
SetMaster ( idEntity master, bool orientated = true ) : void | ||
SetOrigin ( Vector3 origin, int id = -1 ) : void |
Set the position in master space or world space if no master set.
|
|
SetPushed ( int deltaTime ) : void | ||
SnapTimeToPhysicsFrame ( int t ) : int | ||
Translate ( Vector3 translation, int id = -1 ) : void |
Translate the physics object in world space.
|
|
UnlinkClip ( ) : void |
Unlink the clip models contained by this physics object.
|
|
UpdateTime ( int endTime ) : void |
Update the time without moving.
|
|
WriteToSnapshot ( idBitMsgDelta msg ) : void | ||
idPhysics ( ) : System |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
public abstract AddContactEntity ( idEntity entity ) : void | ||
entity | idEntity | |
return | void |
public abstract AddForce ( int id, Vector3 point, Vector3 force ) : void | ||
id | int | |
point | Vector3 | |
force | Vector3 | |
return | void |
public abstract ApplyImpulse ( int id, Vector3 point, Vector3 impulse ) : void | ||
id | int | |
point | Vector3 | |
impulse | Vector3 | |
return | void |
public abstract ClipContents ( |
||
model | ||
return | ContentFlags |
public abstract ClipRotation ( idRotation rotation, |
||
rotation | idRotation | |
model | ||
return |
public abstract ClipTranslation ( Vector3 translation, |
||
translation | Vector3 | |
model | ||
return |
public abstract Evaluate ( int timeStep, int endTime ) : bool | ||
timeStep | int | |
endTime | int | |
return | bool |
public abstract GetAbsoluteBounds ( int id = -1 ) : idBounds | ||
id | int | |
return | idBounds |
public abstract GetAngularVelocity ( int id ) : Vector3 | ||
id | int | |
return | Vector3 |
public abstract GetBounds ( int id = -1 ) : idBounds | ||
id | int | |
return | idBounds |
public abstract GetClipMask ( int id = -1 ) : ContentFlags | ||
id | int | |
return | ContentFlags |
public abstract GetClipModel ( int id ) : |
||
id | int | |
return |
public abstract GetContact ( int index ) : |
||
index | int | |
return |
public abstract GetContents ( int id = -1 ) : ContentFlags | ||
id | int | |
return | ContentFlags |
public abstract GetImpactInfo ( int id, Vector3 point ) : |
||
id | int | |
point | Vector3 | |
return |
public abstract GetLinearVelocity ( int id ) : Vector3 | ||
id | int | |
return | Vector3 |
public abstract GetMass ( int id = -1 ) : float | ||
id | int | |
return | float |
public abstract GetOrigin ( int id ) : Vector3 | ||
id | int | |
return | Vector3 |
public abstract GetPushedAngularVelocity ( int id ) : Vector3 | ||
id | int | |
return | Vector3 |
public abstract GetPushedLinearVelocity ( int id ) : Vector3 | ||
id | int | |
return | Vector3 |
public abstract IsGroundClipModel ( int index, int id ) : bool | ||
index | int | |
id | int | |
return | bool |
public abstract IsGroundEntity ( int index ) : bool | ||
index | int | |
return | bool |
public abstract ReadFromSnapshot ( idBitMsgDelta msg ) : void | ||
msg | idBitMsgDelta | |
return | void |
public abstract RemoveContactEntity ( idEntity entity ) : void | ||
entity | idEntity | |
return | void |
public abstract Rotate ( idRotation rotation, int id = 1 ) : void | ||
rotation | idRotation | |
id | int | |
return | void |
public abstract SetAngularVelocity ( Vector3 velocity, int id ) : void | ||
velocity | Vector3 | |
id | int | |
return | void |
public abstract SetAxis ( Matrix axis, int id = -1 ) : void | ||
axis | Matrix | |
id | int | |
return | void |
public SetClipBox ( idBounds bounds, float density ) : void | ||
bounds | idBounds | |
density | float | |
return | void |
public abstract SetClipMask ( ContentFlags mask, int id = -1 ) : void | ||
mask | ContentFlags | |
id | int | |
return | void |
public abstract SetClipModel ( |
||
model | ||
density | float | |
id | int | |
disposeOld | bool | |
return | void |
public abstract SetContents ( ContentFlags contents, int id = -1 ) : void | ||
contents | ContentFlags | |
id | int | |
return | void |
public abstract SetLinearVelocity ( Vector3 velocity, int id ) : void | ||
velocity | Vector3 | |
id | int | |
return | void |
public abstract SetMass ( float mass, int id = -1 ) : void | ||
mass | float | |
id | int | |
return | void |
public abstract SetMaster ( idEntity master, bool orientated = true ) : void | ||
master | idEntity | |
orientated | bool | |
return | void |
public abstract SetOrigin ( Vector3 origin, int id = -1 ) : void | ||
origin | Vector3 | |
id | int | |
return | void |
public abstract SetPushed ( int deltaTime ) : void | ||
deltaTime | int | |
return | void |
public static SnapTimeToPhysicsFrame ( int t ) : int | ||
t | int | |
return | int |
public abstract Translate ( Vector3 translation, int id = -1 ) : void | ||
translation | Vector3 | |
id | int | |
return | void |
public abstract UpdateTime ( int endTime ) : void | ||
endTime | int | |
return | void |
public abstract WriteToSnapshot ( idBitMsgDelta msg ) : void | ||
msg | idBitMsgDelta | |
return | void |