PDA

View Full Version : Playing_cards


tofuji
06-12-2011, 03:29 PM
This XPresso turns playing cards

sample movie
http://www2.11moon.com/sample_files/20110612/playing_cards.mp4

sample file
http://www2.11moon.com/sample_files/20110612/Playing_cards.zip


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.

1. "radius"
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.


2. "tolerance"
This specifies speedt of the motion.


3. "height"
This specifies hight of jump of the cards.

4. "turns"
This specifies number of turns of the cards. 1 means harf rotation, 2 means 3/2 rotation, 3 means 5/2 rotation.

douwe
06-13-2011, 01:01 AM
keep 'em coming, man.
you're on a roll.

fantastic work.
d

CGTalk Moderation
06-13-2011, 01:01 AM
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.