C# Class idTech4.Game.Physics.idPhysics_Player

Simulates the motion of a player through the environment. Input from the player is used to allow a certain degree of control over the motion.
Inheritance: idPhysics_Actor
Afficher le fichier Open project: iainmckay/idtech4.net Class Usage Examples

Méthodes publiques

Méthode Description
ApplyImpulse ( int id, Vector3 point, Vector3 impulse ) : void
ClearPushedVelocity ( ) : void
Evaluate ( int timeStep, int endTime ) : bool
GetImpactInfo ( int id, Vector3 point ) : ImpactInfo
GetLinearVelocity ( int id ) : Vector3
GetPushedLinearVelocity ( int id ) : Vector3
ReadFromSnapshot ( idBitMsgDelta msg ) : void
RestoreState ( ) : void
Rotate ( idRotation rotation, int id = 1 ) : void
SaveState ( ) : void
SetAxis ( Matrix axis, int id = -1 ) : void
SetLinearVelocity ( Vector3 velocity, int id ) : void
SetMaster ( idEntity master, bool orientated = true ) : void
SetOrigin ( Vector3 origin, int id = -1 ) : void
SetPushed ( int deltaTime ) : void
Translate ( Vector3 translation, int id = -1 ) : void
UpdateTime ( int endTime ) : void
WriteToSnapshot ( idBitMsgDelta msg ) : void
idPhysics_Player ( ) : System

Method Details

ApplyImpulse() public méthode

public ApplyImpulse ( int id, Vector3 point, Vector3 impulse ) : void
id int
point Vector3
impulse Vector3
Résultat void

ClearPushedVelocity() public méthode

public ClearPushedVelocity ( ) : void
Résultat void

Evaluate() public méthode

public Evaluate ( int timeStep, int endTime ) : bool
timeStep int
endTime int
Résultat bool

GetImpactInfo() public méthode

public GetImpactInfo ( int id, Vector3 point ) : ImpactInfo
id int
point Vector3
Résultat ImpactInfo

GetLinearVelocity() public méthode

public GetLinearVelocity ( int id ) : Vector3
id int
Résultat Vector3

GetPushedLinearVelocity() public méthode

public GetPushedLinearVelocity ( int id ) : Vector3
id int
Résultat Vector3

ReadFromSnapshot() public méthode

public ReadFromSnapshot ( idBitMsgDelta msg ) : void
msg idBitMsgDelta
Résultat void

RestoreState() public méthode

public RestoreState ( ) : void
Résultat void

Rotate() public méthode

public Rotate ( idRotation rotation, int id = 1 ) : void
rotation idRotation
id int
Résultat void

SaveState() public méthode

public SaveState ( ) : void
Résultat void

SetAxis() public méthode

public SetAxis ( Matrix axis, int id = -1 ) : void
axis Matrix
id int
Résultat void

SetLinearVelocity() public méthode

public SetLinearVelocity ( Vector3 velocity, int id ) : void
velocity Vector3
id int
Résultat void

SetMaster() public méthode

public SetMaster ( idEntity master, bool orientated = true ) : void
master idEntity
orientated bool
Résultat void

SetOrigin() public méthode

public SetOrigin ( Vector3 origin, int id = -1 ) : void
origin Vector3
id int
Résultat void

SetPushed() public méthode

public SetPushed ( int deltaTime ) : void
deltaTime int
Résultat void

Translate() public méthode

public Translate ( Vector3 translation, int id = -1 ) : void
translation Vector3
id int
Résultat void

UpdateTime() public méthode

public UpdateTime ( int endTime ) : void
endTime int
Résultat void

WriteToSnapshot() public méthode

public WriteToSnapshot ( idBitMsgDelta msg ) : void
msg idBitMsgDelta
Résultat void

idPhysics_Player() public méthode

public idPhysics_Player ( ) : System
Résultat System