|
@@ -636,6 +636,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Only has an effect if smoothMotion is set to true and trailing is enabled
|
|
|
* Sets the chasing sensitivity, the lower the value the slower the camera will follow the target when it moves
|
|
|
* default is 5
|
|
|
* @param chasingSensitivity
|
|
@@ -653,6 +654,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Only has an effect if smoothMotion is set to true
|
|
|
* Sets the rotation sensitivity, the lower the value the slower the camera will rotates around the target when draging with the mouse
|
|
|
* default is 5, values over 5 should have no effect.
|
|
|
* If you want a significant slow down try values below 1.
|
|
@@ -671,6 +673,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Only has an effect if smoothMotion is set to true
|
|
|
* Enable the camera trailing : The camera smoothly go in the targets trail when it moves.
|
|
|
* @param trailingEnabled
|
|
|
*/
|
|
@@ -679,6 +682,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ *
|
|
|
* returns the trailing rotation inertia
|
|
|
* @return
|
|
|
*/
|
|
@@ -687,6 +691,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Only has an effect if smoothMotion is set to true and trailing is enabled
|
|
|
* Sets the trailing rotation inertia : default is 0.1. This prevent the camera to roughtly stop when the target stops moving
|
|
|
* before the camera reached the trail position.
|
|
|
* @param trailingRotationInertia
|
|
@@ -704,6 +709,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * Only has an effect if smoothMotion is set to true and trailing is enabled
|
|
|
* Sets the trailing sensitivity, the lower the value, the slower the camera will go in the target trail when it moves.
|
|
|
* default is 0.5;
|
|
|
* @param trailingSensitivity
|