Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (fl:define-prefab "damaged-helmet" (examples)
- ("camera"
- (fl.comp:camera () :active-p t
- :mode :perspective
- :zoom 10))
- ("helmet"
- (fl.comp:transform () :rotate (m:vec3 (/ pi 2) 0 0)
- :rotate/inc (m:vec3 0 0 -0.6)
- :scale (m:vec3 4))
- (fl.comp:mesh () :location '(:mesh "damaged-helmet.glb"))
- (fl.comp:render () :material 'damaged-helmet)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement