Contact:getNormal
EditReturns the normal vector of the Contact. This is a direction vector that represents which direction the second collider should move to resolve the collision.
x, y, z = Contact:getNormal()
Arguments
None
Returns
Name | Type | Description |
x | number | The x component of the normal vector. |
y | number | The y component of the normal vector. |
z | number | The z component of the normal vector. |