메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
public abstract AddContactEntity ( idEntity entity ) : void | ||
entity | idEntity | |
리턴 | void |
public abstract AddForce ( int id, Vector3 point, Vector3 force ) : void | ||
id | int | |
point | Vector3 | |
force | Vector3 | |
리턴 | void |
public abstract ApplyImpulse ( int id, Vector3 point, Vector3 impulse ) : void | ||
id | int | |
point | Vector3 | |
impulse | Vector3 | |
리턴 | void |
public abstract ClipContents ( |
||
model | ||
리턴 | ContentFlags |
public abstract ClipRotation ( idRotation rotation, |
||
rotation | idRotation | |
model | ||
리턴 |
public abstract ClipTranslation ( Vector3 translation, |
||
translation | Vector3 | |
model | ||
리턴 |
public abstract Evaluate ( int timeStep, int endTime ) : bool | ||
timeStep | int | |
endTime | int | |
리턴 | bool |
public abstract GetAbsoluteBounds ( int id = -1 ) : idBounds | ||
id | int | |
리턴 | idBounds |
public abstract GetAngularVelocity ( int id ) : Vector3 | ||
id | int | |
리턴 | Vector3 |
public abstract GetClipMask ( int id = -1 ) : ContentFlags | ||
id | int | |
리턴 | ContentFlags |
public abstract GetClipModel ( int id ) : |
||
id | int | |
리턴 |
public abstract GetContact ( int index ) : |
||
index | int | |
리턴 |
public abstract GetContents ( int id = -1 ) : ContentFlags | ||
id | int | |
리턴 | ContentFlags |
public abstract GetImpactInfo ( int id, Vector3 point ) : |
||
id | int | |
point | Vector3 | |
리턴 |
public abstract GetLinearVelocity ( int id ) : Vector3 | ||
id | int | |
리턴 | Vector3 |
public abstract GetPushedAngularVelocity ( int id ) : Vector3 | ||
id | int | |
리턴 | Vector3 |
public abstract GetPushedLinearVelocity ( int id ) : Vector3 | ||
id | int | |
리턴 | Vector3 |
public abstract IsGroundClipModel ( int index, int id ) : bool | ||
index | int | |
id | int | |
리턴 | bool |
public abstract ReadFromSnapshot ( idBitMsgDelta msg ) : void | ||
msg | idBitMsgDelta | |
리턴 | void |
public abstract RemoveContactEntity ( idEntity entity ) : void | ||
entity | idEntity | |
리턴 | void |
public abstract Rotate ( idRotation rotation, int id = 1 ) : void | ||
rotation | idRotation | |
id | int | |
리턴 | void |
public abstract SetAngularVelocity ( Vector3 velocity, int id ) : void | ||
velocity | Vector3 | |
id | int | |
리턴 | void |
public abstract SetAxis ( Matrix axis, int id = -1 ) : void | ||
axis | Matrix | |
id | int | |
리턴 | void |
public SetClipBox ( idBounds bounds, float density ) : void | ||
bounds | idBounds | |
density | float | |
리턴 | void |
public abstract SetClipMask ( ContentFlags mask, int id = -1 ) : void | ||
mask | ContentFlags | |
id | int | |
리턴 | void |
public abstract SetClipModel ( |
||
model | ||
density | float | |
id | int | |
disposeOld | bool | |
리턴 | void |
public abstract SetContents ( ContentFlags contents, int id = -1 ) : void | ||
contents | ContentFlags | |
id | int | |
리턴 | void |
public abstract SetLinearVelocity ( Vector3 velocity, int id ) : void | ||
velocity | Vector3 | |
id | int | |
리턴 | void |
public abstract SetMass ( float mass, int id = -1 ) : void | ||
mass | float | |
id | int | |
리턴 | void |
public abstract SetMaster ( idEntity master, bool orientated = true ) : void | ||
master | idEntity | |
orientated | bool | |
리턴 | void |
public abstract SetOrigin ( Vector3 origin, int id = -1 ) : void | ||
origin | Vector3 | |
id | int | |
리턴 | void |
public static SnapTimeToPhysicsFrame ( int t ) : int | ||
t | int | |
리턴 | int |
public abstract Translate ( Vector3 translation, int id = -1 ) : void | ||
translation | Vector3 | |
id | int | |
리턴 | void |
public abstract WriteToSnapshot ( idBitMsgDelta msg ) : void | ||
msg | idBitMsgDelta | |
리턴 | void |