Reputation: 85
I want to create an app using SceneKit with a solid 3D object, whose shape I can change using a given user input. Is it better to do this with predefined animations or to make lots of smaller objects (as nodes) and change their arrangements to mimic a single object changing shape? Many thanks!
Upvotes: 1
Views: 546
Reputation: 768
Depending on what you mean by 'change shape' you have following options:
SCNBox
, SCNCone
, SCNCylinder
and alike) and you can change its shape the way you want using its animatable properties (ex: chamfer radius of SCNBox
), then animations is simpliest way to go.SCNNode
with contents loaded from external source and by change its shape you mean scale/rotate/translate, you can also use animations.SCNGeometries
(by filling SCNGeometrySource
/SCGeometryElement
) from your model.Since question have tag blender and title mentions rotate, then perhaps (2) is best for you.
Upvotes: 1