Trithilon-V2
New Member
- Reaction score
- 20
Hello guys,
I have been working on a machinima and I need to script a Camera system to record a lot of clips.
The problem is the fact that,
It seems the camera Rotation ranges from -180 to 180.
My logic to the problem was :
Event : Every 0.01 seconds
Actions :
- Camera - Set Rotation of "Cam1" to ((Rotation of Cam1) + (10.0))
- Camera - Apply camera object Rotation (Cam1 Rotation) for player 1 over 0.0 seconds with Existing Velocity% initial velocity and 10% deceleration
But this simply doesnt rotate. Instead it occilates between 3 angles, 90, -90 and 180.
I dont know whats going on. :S
I had been able to make it work using a variable that used to act as
the angle for rotation and increasing the Value of the variable.
But... I want this to work on any camera, fetch the current rotation angle of the camera and then turn the camera by adding more rotation.
Any body know how to do it?
Also, is it possible to obtain the position of the camera in the trigger editor?
I have been working on a machinima and I need to script a Camera system to record a lot of clips.
The problem is the fact that,
It seems the camera Rotation ranges from -180 to 180.
My logic to the problem was :
Event : Every 0.01 seconds
Actions :
- Camera - Set Rotation of "Cam1" to ((Rotation of Cam1) + (10.0))
- Camera - Apply camera object Rotation (Cam1 Rotation) for player 1 over 0.0 seconds with Existing Velocity% initial velocity and 10% deceleration
But this simply doesnt rotate. Instead it occilates between 3 angles, 90, -90 and 180.
I dont know whats going on. :S
I had been able to make it work using a variable that used to act as
the angle for rotation and increasing the Value of the variable.
But... I want this to work on any camera, fetch the current rotation angle of the camera and then turn the camera by adding more rotation.
Any body know how to do it?
Also, is it possible to obtain the position of the camera in the trigger editor?