Property | Type | Description | |
---|---|---|---|
collider | |||
minimumTranslationVector | Vector2 | ||
normal | Vector2 | ||
point | Vector2 |
Method | Description | |
---|---|---|
ToString ( ) : string | ||
invertResult ( ) : void |
inverts the normal and MTV
|
|
removeHorizontalTranslation ( Vector2 deltaMovement ) : void |
alters the minimumTranslationVector so that it removes the x-component of the translation if there was no movement in the same direction.
|
public removeHorizontalTranslation ( Vector2 deltaMovement ) : void | ||
deltaMovement | Vector2 | the original movement that caused the collision |
return | void |