Interface ICharacterPush
Have a character controller push any dynamic rigidbody it hits
Namespace: nickmaltbie.OpenKCC.Character
Assembly: cs.temp.dll.dll
Syntax
public interface ICharacterPush
Methods
CanPushObject(Collider)
Can this character push objects.
Declaration
bool CanPushObject(Collider hitObject)
Parameters
Type | Name | Description |
---|---|---|
Collider | hitObject | Object hit by the character. |
Returns
Type | Description |
---|---|
Boolean | Can this chanter push objects. |
PushObject(IControllerColliderHit)
Push an object using a IControllerColliderHit data.
Declaration
void PushObject(IControllerColliderHit hit)
Parameters
Type | Name | Description |
---|---|---|
IControllerColliderHit | hit | Data about how the character controller hit the object. |