[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Thread Index]
[Monthly Archives] [List Home]

Re: [Virtools] "getPlace" missing/ "keep at constant distance"- attenuation problem



2. My character doesn't belong to any place. But I need to know in which
place my character is situated when he changes from one place to another.
A "getPlace" operation for place-independent objects is missing. Any idea?
 
You should use 'PARAM OP' with:
 
input 1 = Character, input2 = none
Operation = Get referential place,
Output = Place
 
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-change
because 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 and
begins 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.
Im not sure where is your problem, but if its what I think you could try to put your camera in hierarchy as a child of your character just in moment when you make a jump, and then after yump just remove it from hierarchy. This shold work fine, but be shure that your scripts have correct priorities.
Hope this helps! 
__________________________________________________________________
Oliver Pavicevic
ICQ#: 32738522
Current ICQ status:  
+  More ways to contact me
__________________________________________________________________
----- Original Message -----
From: katja maljevic
To: virtools-user-group@lists.theswapmeet.com
Sent: Sunday, February 02, 2003 3:38 PM
Subject: [Virtools] "getPlace" missing/ "keep at constant distance"- attenuation problem

Hi,
 
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-change
because 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 and
begins 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 which
place 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

online?icq=32738522&img=21


References: