* We now have a field of spinning objects.
parent
a4602515ce
commit
2a5a8c48c3
|
@ -70,8 +70,12 @@ namespace SimpleApp
|
|||
SceneObjectGroup sceneObject = new CpuCounterObject(scene, regionInfo.RegionHandle, LLUUID.Zero, scene.PrimIDAllocate(), pos + new LLVector3( 1f, 1f, 1f ));
|
||||
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);
|
||||
}
|
||||
|
||||
MyNpcCharacter m_character = new MyNpcCharacter(scene.EventManager);
|
||||
scene.AddNewClient(m_character, false);
|
||||
|
|
Loading…
Reference in New Issue