메소드 | 설명 | |
---|---|---|
PhysicsCollisionBeginEvent ( IGameContext gameContext, IServerContext serverContext, IUpdateContext updateContext, RigidBody body1, RigidBody body2, object owner1, object owner2 ) : Jitter.Dynamics |
Initializes a new instance of a PhysicsCollisionBeginEvent. This constructor is intended to be used internally within the engine.
|
public PhysicsCollisionBeginEvent ( 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. |
리턴 | Jitter.Dynamics |