꽃 GenoType

jjuiddong
Jjuiddong (토론 | 기여) 사용자의 2014년 2월 7일 (금) 13:24 판

(비교) ← 이전 판 | 최신판 (비교) | 다음 판 → (비교)
이동: 둘러보기, 찾기
Leaf( box, vec3(0.1, 1.7, 0.4), material(blue), mass(1),
 
	joint( fixed, quat(), quat(), vec3(0,-3,0), 
		limit(-0.785375, 0.785375, 0.1),
		velocity(15),
		period(20),
		Leaf
	)
) 

Leaf2( box, vec3(0.1,1.7,0.5), material(blue), mass(1),
 
	joint( fixed, quat(), quat(), vec3(0,-3,0), 
		limit(-0.785375, 0.785375, 0.1),
		Leaf2
	)
) 

FlowerLeaf( box, vec3(1.7,0.4,0.1), material(yellow), mass(1) ) 

Circle( sphere, vec3(0.9,0.2,0.1), material(yellow), mass(1) 
	
	joint( fixed, quat(), quat(0.5,Vec3(0,0,1)), vec3(0.5,-0.4,0), 
		limit(-0.785375, 0.785375, 0.1),
		velocity(15),
		period(20),
		FlowerLeaf
	)

	joint( fixed, quat(), quat(0.5,Vec3(0,0,1)), vec3(0.5,0,0), 
		limit(-0.785375, 0.785375, 0.1),
		velocity(15),
		period(20),
		FlowerLeaf
	)

	joint( fixed, quat(), quat(-0.5,Vec3(0,0,1)), vec3(-0.5,0,0), 
		limit(-0.785375, 0.785375, 0.1),
		velocity(15),
		period(20),
		FlowerLeaf
	)

	joint( fixed, quat(), quat(-0.5,Vec3(0,0,1)), vec3(-0.5,-0.4,0), 
		limit(-0.785375, 0.785375, 0.1),
		velocity(15),
		period(20),
		FlowerLeaf
	)

	joint( fixed, quat(), quat(1.5,Vec3(0,0,1)), vec3(0,-0.4,0), 
		limit(-0.785375, 0.785375, 0.1),
 		velocity(15),
		period(20),
		FlowerLeaf
	) 
) 

Body( box, vec3(0.5,0.5,0.3), material(green), mass(1), randshape(0,0,0),

	joint( fixed, quat(), quat(), vec3(0,-2,0), 
 		limit(-0.785375, 0.785375, 0.1),
		velocity(10),
		period(10),
 		randpos(0,0,0),
		randorient(0,0,0),
		Body
	),

	joint( fixed, quat(), quat(-0.8,Vec3(0,0,1)), vec3(1.2,-0.7,0), 
 		limit(-0.785375, 0.785375, 0.1),
		Leaf
	),

	joint( fixed, quat(), quat(0.8,Vec3(0,0,1)), vec3(-1.2,-0.7,0), 
		limit(-0.785375, 0.785375, 0.1),
		Leaf
	),

	joint( fixed, quat(), quat(), vec3(0,-1.5,0), 
		limit(-0.785375, 0.785375, 0.1),
		velocity(10),
		period(10),
		randpos(0,0,0),
		randorient(0,0,0),
		terminalOnly,
 		Circle
	) 
)

main( root, vec3(0.5,0.5,0.3), material(green), mass(1),

	joint( fixed, quat(), quat(-0.9, vec3(0,0,1)), vec3(1.5,-1,0), 
 		limit(-0.785375, 0.785375, 0.1),
		velocity(15),
		period(20),
		Leaf2
 	),

	joint( fixed, quat(), quat(0.9, vec3(0,0,1)), vec3(-1.5,-1,0),
		limit(-0.785375, 0.785375, 0.1),
		velocity(15),
		period(20),
		Leaf2
	),

	joint( fixed, quat(), quat(), vec3(0,-2,0), 
		limit(-0.785375, 0.785375, 0.1),
		velocity(15),
		period(20),
		Body
	)
)
개인 도구
이름공간

변수
행위
둘러보기
도구모음