API Panel.Collision.GetMultiAxis
From Flowcode Help
Jump to navigationJump to search
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type BOOL
- Add to a calculation icon:
result = ::Panel.Collision.GetMultiAxis(pos, return_x, return_y, return_z, targetspace)
Detecting Collisions
Simple example showing how to detect for collisions between objects on the panel. An object moves back and forth between two fixed objects. Each time the moving object hits a static object it will change it's direction.