sphere.xml 734 B

1234567891011121314151617181920212223242526
  1. <Actor type="Sphere" resource="actors/sphere.xml">
  2. <TransformComponent>
  3. <Position x="0" y="5" z="0"/>
  4. </TransformComponent>
  5. <PhysicsComponent>
  6. <Shape>Sphere</Shape>
  7. <Density>pine</Density>
  8. <PhysicsMaterial>Bouncy</PhysicsMaterial>
  9. <RigidBodyTransform>
  10. <Scale x="0.25" y="0.25" z="0.25" />
  11. </RigidBodyTransform>
  12. </PhysicsComponent>
  13. <SphereRenderComponent>
  14. <Color r="0" g="1.0" b="1.0" a="1.0"/>
  15. <Sphere radius="0.25" segments="25"/>
  16. </SphereRenderComponent>
  17. <BaseScriptComponent>
  18. <ScriptObject constructor="AddSphere" destructor="RemoveSphere" />
  19. <ScriptData actorType="Sphere" />
  20. </BaseScriptComponent>
  21. </Actor>