Method | Description | |
---|---|---|
PhysicsCollisionEndEvent ( IGameContext gameContext, IServerContext serverContext, IUpdateContext updateContext, RigidBody body1, RigidBody body2, object owner1, object owner2 ) : Jitter.Dynamics |
Initializes a new instance of a PhysicsCollisionEndEvent. This constructor is intended to be used internally within the framework.
|
public PhysicsCollisionEndEvent ( IGameContext gameContext, IServerContext serverContext, IUpdateContext updateContext, RigidBody body1, RigidBody body2, object owner1, object owner2 ) : Jitter.Dynamics | ||
gameContext | IGameContext | The current game context, or null if running on a server. |
serverContext | IServerContext | The current server context, or null if running on a client. |
updateContext | IUpdateContext | The current update context. |
body1 | RigidBody | The first body involved in the collision. |
body2 | RigidBody | The second body involved in the collision. |
owner1 | object | The owner of the first body. |
owner2 | object | The owner of the second body. |
return | Jitter.Dynamics |