Difference between revisions of "API Panel.Collision.GetMultiAxis"
From Flowcode Help
Jump to navigationJump to searchLine 38: | Line 38: | ||
==Detailed description== | ==Detailed description== | ||
− | + | ||
Latest revision as of 11:55, 16 January 2023
Detailed description
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.