Adjust diceRoll time
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
public class DiceControl extends AbstractControl {
|
public class DiceControl extends AbstractControl {
|
||||||
private Quaternion targetRotation;
|
private Quaternion targetRotation;
|
||||||
private final Vector3f angularVelocity = new Vector3f();
|
private final Vector3f angularVelocity = new Vector3f();
|
||||||
private float deceleration = 0.5f;
|
private float deceleration = 1.7f;
|
||||||
private float timeElapsed = 0.0f;
|
private float timeElapsed = 0.0f;
|
||||||
private float rollDuration = 1f;
|
private float rollDuration = 1f;
|
||||||
private static final int ANGULAR_MIN = 5;
|
private static final int ANGULAR_MIN = 5;
|
||||||
|
|||||||
Reference in New Issue
Block a user