Tesseract Engine Documentation

Player.ObjectCollisionResponse Method 

Add Player specific responses to an object to object collision involving this and collidedObject. Uses collidedObject.collisionWithPlayerResponse to determine health and manna bonuses and damage.

public override bool ObjectCollisionResponse(
   GameObject collidedObject,
   Vector3 resultantForce,
   ObjectLibrary objectLibrary
);

Parameters

collidedObject
Object that collided with this Player.
resultantForce
Resultant force of collision
objectLibrary
ObjectLibrary

Return Value

True = this object has to be recycled

See Also

Player Class | DarkWynter.Engine.GameObjects Namespace