|
|||||||||||||||||||||||||||||
|
|
This script is for the collision of two round objects (b <> 0). When your objects "collide" you call this script. Typically I would just check for distance between the two objects on an exitframe and when they "touch" (d ~ 0) I'd call this script, and with the results I would send a message to the objects and let them know what their velocities are after the collision.
|
|
|