< Container | CodeSamples | scenenode >

---% Code tested with Luxinia 0.98 build Jan 13 2008
---% at 01/14/08 19:46:23
---%  y

  -- create a new actor (will be in 0,0,0)
actor = actornode.new("actor")

  -- create a sphere primitive and link it 
  -- against the actor. The sphere will be 
  -- visible at the place of the actor
  -- We can store variables in actors etc.
actor.l3d = l3dprimitive.newsphere("sphere",1)
actor.l3d:linkinterface(actor)

  -- move actor (if camera is at 0,0,0 (default) 
  -- we should see the sphere then
actor:pos(0,200,0)