프로퍼티 | 타입 | 설명 | |
---|---|---|---|
collider | |||
minimumTranslationVector | Vector2 | ||
normal | Vector2 | ||
point | Vector2 |
메소드 | 설명 | |
---|---|---|
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 |
리턴 | void |