Collision in unity using javascript

i want to make collision to two cube when they collide both one cube should start spinning and other cube should change the color.
anyone can help me the code?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.