14 lines
585 B
Python
14 lines
585 B
Python
"""Wariant: nieruchoma postac i animowana kamera."""
|
|
from ue_workshop import Scene, Sequence, camera, lighting, materials
|
|
|
|
scene = Scene("CameraShot")
|
|
scene.character(material=materials.color("Orange", (0.8, 0.16, 0.03)))
|
|
scene.primitive("Cube", name="Floor", location=(0, 0, -10), scale=(20, 20, 0.2))
|
|
lighting.studio(scene)
|
|
cam = camera.create(scene, location=(450, -550, 300))
|
|
shot = Sequence(scene)
|
|
shot.camera(cam)
|
|
shot.transform_key(cam, 0, location=(450, -550, 300), interpolation="auto")
|
|
shot.transform_key(cam, 47, location=(280, -340, 230), interpolation="auto")
|
|
shot.save()
|