회원 로그인
|
Expression을 이용한 Follow Through
Expression을 이용한 Follow Through
sin() 함수를 이용해 joint1에 초기값을 주고, joint1의 값을 받아 joint2에 넘겨주면서 Follow Through하게 되는 원리이다.
joint1.rotateZ에 expression을 넣는다.
joint2.rotateZ에 expression을 넣는다.
마찮가지로 joint3.rotateZ에 expression을 넣는다.
순차적인 offset이 발생하면서 Flollow Through를 줄수 있게 된다.
끝의 joint의 힘을 받아 Flollow Through를 주려면 꺼꾸로 sin값을 주면 된다.
sin() 함수를 이용해 joint1에 초기값을 주고, joint1의 값을 받아 joint2에 넘겨주면서 Follow Through하게 되는 원리이다.
joint1.rotateZ에 expression을 넣는다.
joint1.rotateZ = sin(frame/24)*25 sin(frame/24) * 25setting에서 설정된 frame 값은 24fps, 24로 나누어 1초(24 fps)동안 25의 각도로 sin이 들어가게 된다.
joint2.rotateZ에 expression을 넣는다.
joint2.rotateZ = `getAttr -t (frame - 5) joint1.rz`;joint1.rz에 들어간 값을 -5를 주어 joint2.rz으로 보내면서 offset을 발생하게 한다.
마찮가지로 joint3.rotateZ에 expression을 넣는다.
순차적인 offset이 발생하면서 Flollow Through를 줄수 있게 된다.
joint3.rotateZ = `getAttr -t (frame - 5) joint2.rz`;
끝의 joint의 힘을 받아 Flollow Through를 주려면 꺼꾸로 sin값을 주면 된다.
joint1.rotateZ = `getAttr -t (frame - 5) joint2.rz`; joint2.rotateZ = `getAttr -t (frame - 5) joint3.rz`; joint3.rotateZ = `getAttr -t (frame - 5) joint4.rz`; joint4.rotateZ = sin(frame/24)*25* artsOne님에 의해서 게시물 이동되었습니다 (2009-04-14 21:33)
- flollow_through_expression.mb (53.1KB) (0)
댓글 0개
| 엮인글 0개
466개(1/24페이지)
번호 | 제목 | 글쓴이 | 조회 | 날짜 |
---|---|---|---|---|
마야 뷰포트 네비게이션 팁 | 푸딩뱃살 | 44015 | 2020.04.06 17:22 | |
Maya 버전 별 Python 버전 | 푸딩뱃살 | 65136 | 2014.01.08 17:59 | |
464 | [Dev] Autodesk Maya Devkit 다운로드 | 푸딩뱃살 | 708 | 2023.01.28 14:28 |
463 | [Base] (해결 중) modules 환경설정 중 | 푸딩뱃살 | 657 | 2022.11.09 11:47 |
462 | [Script] pymel 딕셔너리형 사용 시 KeyError | 푸딩뱃살 | 867 | 2022.11.07 12:08 |
461 | [오류] Building Numpy for Maya Python 2.7.x | 푸딩뱃살 | 601 | 2022.10.23 14:38 |
460 | [Base] 뷰포트에서 조절자가 안 보일때 | 푸딩뱃살 | 790 | 2022.10.13 15:47 |
459 | [Rigging] mirror joints 사용 시 유의 사항 | 푸딩뱃살 | 805 | 2022.10.04 10:46 |
458 | [Script] 2022에서 enum34 모듈 설치 금지 | 푸딩뱃살 | 613 | 2022.08.17 18:08 |
457 | [Script] pymel 예제 | 푸딩뱃살 | 626 | 2022.07.05 19:20 |
456 | [Script] 인코드 / 디코드 - 2.7 한글 사용 | 푸딩뱃살 | 902 | 2022.03.08 17:52 |
455 | [Dev] ui 없이 mayapy로 자동화 | 푸딩뱃살 | 706 | 2022.02.17 13:56 |
454 | [Dev] mayapy로 ui파일 py로 | 푸딩뱃살 | 532 | 2022.02.15 18:20 |
453 | [오류] Error : MayaBonusTools | 푸딩뱃살 | 927 | 2022.01.21 17:52 |
452 | [오류] Error: ModuleNotFoundError | 푸딩뱃살 | 778 | 2022.01.21 16:24 |
451 | [Dev] mayapy | 푸딩뱃살 | 656 | 2022.01.19 20:08 |
450 | [Base] function selCom at 0x7f29c5c04aa0 | 푸딩뱃살 | 617 | 2022.01.19 17:24 |
449 | [Base] wireframe on shaded 단축키 만들기 | 푸딩뱃살 | 918 | 2022.01.04 10:55 |
448 | [오류] OpenCL Error | 푸딩뱃살 | 526 | 2021.12.28 01:40 |
447 | [Script] Easily Translate MEL Commands to Python | 푸딩뱃살 | 838 | 2021.12.02 11:22 |
446 | [Base] output window 띄우지 않기 | 푸딩뱃살 | 828 | 2021.11.24 21:44 |
445 | [Rigging] shapeEditorManager 삭제 안됨 | 푸딩뱃살 | 898 | 2021.11.12 23:30 |