tes3mobileObjectCollision⚓︎
The base object holding the information of a collision.
Properties⚓︎
colliderRef⚓︎
Read-only. Access to the reference of the colliding object.
Returns:
result(tes3reference)
colliderRoot⚓︎
Read-only. The collider's root scene graph node.
Returns:
result(niNode)
collisionType⚓︎
Read-only. The collision type.
| Value | Collsion type |
|---|---|
| 0 | Actor |
| 1 | Static |
| 2 | Terrain |
| 3 | Water |
| 4 | Activator |
| 5 | staticAvoidNode |
| 6 | none |
Returns:
result(integer)
normal⚓︎
Read-only. The normal vector at the collision point.
Returns:
result(tes3vector3)
objectPosAtCollision⚓︎
Read-only. The location of the mobile object at the moment of collision.
Returns:
result(tes3vector3)
point⚓︎
Read-only. The point of contact.
Returns:
result(tes3vector3)
time⚓︎
Read-only. No description yet available.
Returns:
result(number)
valid⚓︎
Read-only. No description yet available.
Returns:
result(boolean)
velocity⚓︎
Read-only. The velocity of the associated mobile object at the point of collision.
Returns:
result(tes3vector3)