|06 June 2011||#1|
Join Date: Feb 2011
This XPresso turns playing cards
This XPresso is a variation of my previous XPresso "Neon switch XPresso". So this XPresso is applied to each card, and refer to target objects to open/close cards.
Also the target objects "target_X" have userdata to control motion.
When the card is close, and distance between "target_open" and "joint" which is parent of the card becomes smaller than "radius", the cards start to open.
Also when the distance becomes smaller than "radius - tolerance", the cards finish to open.
Also after the target go away, and the distance becomes larger than "radius", the card remain open.
When the card is open, and the distance becomes smaller than "radius", the cards start to close.
Also when the distance becomes smaller than "radius - tolerance", the cards finish to close.
Also after the target go away, and the distance becomes larger than "radius", the card remain close.
Note that the Y position of the joint is everytime regarded as 0. This is because the distance is affected by jump of the joint.
This specifies speedt of the motion.
This specifies hight of jump of the cards.
This specifies number of turns of the cards. 1 means harf rotation, 2 means 3/2 rotation, 3 means 5/2 rotation.
Last edited by tofuji : 06 June 2011 at 11:26 PM.
|06 June 2011||#3|
Join Date: Sep 2003
Thread automatically closed
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|