* We now have a field of spinning objects.

afrisby
lbsa71 2007-08-15 18:13:32 +00:00
parent a4602515ce
commit 2a5a8c48c3
1 changed files with 7 additions and 3 deletions

View File

@ -70,8 +70,12 @@ namespace SimpleApp
SceneObjectGroup sceneObject = new CpuCounterObject(scene, regionInfo.RegionHandle, LLUUID.Zero, scene.PrimIDAllocate(), pos + new LLVector3( 1f, 1f, 1f )); SceneObjectGroup sceneObject = new CpuCounterObject(scene, regionInfo.RegionHandle, LLUUID.Zero, scene.PrimIDAllocate(), pos + new LLVector3( 1f, 1f, 1f ));
scene.AddEntity(sceneObject); scene.AddEntity(sceneObject);
ComplexObject complexObject = new ComplexObject(scene, regionInfo.RegionHandle, LLUUID.Zero, scene.PrimIDAllocate(), pos + new LLVector3( 2f, 2f, 2f )); for (int i = 0; i < 27; i++)
{
LLVector3 posOffset = new LLVector3( (i%3)*4, (i%9)/3 * 4, (i/9) * 4 );
ComplexObject complexObject = new ComplexObject(scene, regionInfo.RegionHandle, LLUUID.Zero, scene.PrimIDAllocate(), pos + posOffset );
scene.AddEntity(complexObject); scene.AddEntity(complexObject);
}
MyNpcCharacter m_character = new MyNpcCharacter(scene.EventManager); MyNpcCharacter m_character = new MyNpcCharacter(scene.EventManager);
scene.AddNewClient(m_character, false); scene.AddNewClient(m_character, false);