2. My character doesn't belong to any place. But I need to know in whichplace my character is situated when he changes from one place to another.A "getPlace" operation for place-independent objects is missing. Any idea?
1.My followCam follows the character with "keep at constant distance". Most of the time I want an attenuation of 30.But the Attenuation should be 0 when the Character changes his position (setPosition). (This is not a position-changebecause of walking around with the character.) Just when you press a special key then the character should "jump"to a totally different position. Then I want my camera be at once at the new position behind the character.But it seems that it's not possible to change the attenuation value at runtime. When I change from 30 to 0 the camera "jumps"at once to the right place. But when I change back to an attenuation of 30 (at runtime), camera "jumps" back to it's old position andbegins the slow ride to the character.As well when I position the camera with "set position" the Camera jumps first to the right position and then back to it's former position to start it's slow ride.
Current ICQ status: |
----- Original Message -----From: katja maljevicSent: Sunday, February 02, 2003 3:38 PMSubject: [Virtools] "getPlace" missing/ "keep at constant distance"- attenuation problemHi,I've got two problems:1.My followCam follows the character with "keep at constant distance". Most of the time I want an attenuation of 30.But the Attenuation should be 0 when the Character changes his position (setPosition). (This is not a position-changebecause of walking around with the character.) Just when you press a special key then the character should "jump"to a totally different position. Then I want my camera be at once at the new position behind the character.But it seems that it's not possible to change the attenuation value at runtime. When I change from 30 to 0 the camera "jumps"at once to the right place. But when I change back to an attenuation of 30 (at runtime), camera "jumps" back to it's old position andbegins the slow ride to the character.As well when I position the camera with "set position" the Camera jumps first to the right position and then back to it's former position to start it's slow ride.I 've given up after two days trying to trick the camera. Perhaps you know a way.2. My character doesn't belong to any place. But I need to know in whichplace my character is situated when he changes from one place to another.A "getPlace" operation for place-independent objects is missing. Any idea?Thanks,Katja