Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Light in C#........  (Read 689 times)
Coffei
Community Member
*
Posts: 12


« on: July 12, 2007, 10:55:06 AM »

eh.. When i create the light a set his position to 490, 10, 490:
Code:
v = global.Vector3(490f, 10.0f, 490f);
            Light.CreateQuickPointLight(ref v, 300f, 300f, 300f, 30f, "soslight", 5);

and execue te program everything is ok..

 BUT when i try to set light's position perhaps to 0, 10, 0 the light isn't where is supposed to be.. I REALLY don't know what's the problem so i write the code, which moves with the light by 0.1 on the x axis but after that it looks like this:

a when i continue with moving the light doesn't move until his position on x axis = 470.. I try to move with the light on every axis but result is everytime same.. thank you for every help..
if anybody don't get this my ICQ is 228-174-765...
Execuse my english... i have problem's with explainig my problem in my native language Cheesy..
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks