회원 로그인
|
Expression - rad_to_deg
translate에 따른 오브젝트의 rotate를 하게 된다.
1. sphere를 만들고, ball이라고 naming 한다.
2. expression editor 창의 expression name에 RotateBall를 입력한다.
* 메뉴 Selete Filter의 By Expression Name을 선택 시
3. expression text filed에 아래와 같이 입력하고 Edit 버튼을 클릭하여 적용한다.
// rad : 원주 , deg : 거리 ball.rotateZ = - (rad_to_deg(ball.translateX));4. 오브젝트를 X축으로 translate 해본다.
* frame key가 들어가지 않으므로 expression을 추가해준다.
ball.translateX = - time;
- expression_rad_to_deg.mb (51.3KB) (0)
댓글 0개
| 엮인글 0개
466개(20/24페이지)
번호 | 제목 | 글쓴이 | 조회 | 날짜 |
---|---|---|---|---|
마야 뷰포트 네비게이션 팁 | 푸딩뱃살 | 42384 | 2020.04.06 17:22 | |
Maya 버전 별 Python 버전 | 푸딩뱃살 | 63695 | 2014.01.08 17:59 | |
84 | [Rendering] [스크랩] 마야 - 렌더 패스 Tutorial | artsone | 4630 | 2008.01.15 17:26 |
83 | [Rendering] [스크랩] 마야 멘탈레이 - Layer Render [ Occlusion ] | artsone | 3870 | 2008.01.15 17:14 |
82 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Current limitations | artsone | 4299 | 2008.01.15 17:07 |
81 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Important difference | artsone | 5455 | 2008.01.15 17:07 |
80 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Python from an exter | artsone | 4852 | 2008.01.15 17:04 |
79 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Python and threading | artsone | 4692 | 2008.01.15 17:02 |
78 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Using Python | artsone | 5491 | 2008.01.15 16:56 |
77 | [Script] [스크랩] Maya help에 있는 Python 참조문 번역 - Python in Maya | artsone | 5110 | 2008.01.15 16:54 |
76 | [FX] Rigid Body 테스트 | artsone | 2261 | 2007.12.20 16:53 |
75 | [참고] MEL Script Site | artsone | 2686 | 2007.12.17 04:31 |
74 | [Base] 단축키 | artsone | 2062 | 2007.12.17 03:55 |
73 | [Script] Expression - Time (sin, cos, tan) test | artsone | 2708 | 2007.12.15 05:40 |
72 | [Rendering] UV Check Maps | artsOne | 1896 | 2007.12.09 23:45 |
71 | [Rendering] [스크랩] V-Ray for Maya | artsone | 2632 | 2007.12.06 02:04 |
70 | [Rigging] Squash and Stretch 뼈대 만들기 - IK Spline Handle 활용 | artsone | 2827 | 2007.11.18 23:17 |
69 | [Rigging] Squash and Stretch 뼈대 만들기 - IK Handle 활용 2 (만들기) | artsone | 2640 | 2007.11.16 01:14 |
68 | [Rigging] Squash and Stretch 뼈대 만들기 - IK Handle 활용 1 (정의) | artsOne | 2509 | 2007.11.15 13:53 |
>> | [Script] Expression - rad_to_deg | artsone | 2674 | 2007.11.14 19:40 |
66 | [Script] Expression - time | artsone | 2320 | 2007.11.14 19:36 |
65 | [Script] 리깅에 사용되는 Utility Node - Condition Node | artsone | 2235 | 2007.11.13 02:54 |