Script v1.4.4.0
Engine v7.0.0.2
- General
- Entity
- Node
- Scenegraph
- Lighting
- Camera
- Shape
- Particle System
- Physics
- Spline
- Animation
- Overlays
- Sound
- Input
- XML
- Network
- Callbacks
- createFunctionName
- draw
- init
- keyEvent
- mouseEvent
- onContactFunctionName
- packetReceived
- raycastFunctionName
- triggerFunctionName
- update
- Text Rendering
- Terrain Detail
- Tire Track
- Editor
- Rendering
- String
- Math
- I3D
- Fillplanes
Foundation Reference
onContactFunctionName
DescriptionThis function is called when a contact event occurs.Definition
onContactFunctionName(integer objectId, integer otherObjectId, boolean isStart, float normalForce, float tangentialForce)Arguments
integer | objectId | id of the object |
integer | otherObjectId | id of the other object |
boolean | isStart | is start touch |
float | normalForce | normal contact force |
float | tangentialForce | tangential contact force |