Lysa.nodes  0.0
Lysa 3D Engine
Collision Struct Reference

Detailed Description

Data describing a single physics collision contact.

Lua full name: lysa.nodes.Collision

Properties

lysa.float3 position
 World-space position of the contact point.
 
lysa.float3 normal
 Contact normal vector pointing away from the colliding surface.
 
CollisionObject object
 The other CollisionObject involved in the collision.
 

Property Documentation

lysa.float3 position

World-space position of the contact point.

lysa.float3 normal

Contact normal vector pointing away from the colliding surface.

The other CollisionObject involved in the collision.