mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 12:38:46 +02:00
removed trigger being used for toy ball catching
This commit is contained in:
parent
a9d21faa7e
commit
c286f84d97
1 changed files with 1 additions and 3 deletions
|
@ -232,10 +232,8 @@ void Hand::simulateToyBall(PalmData& palm, const glm::vec3& fingerTipPosition, f
|
|||
|
||||
const int NEW_BALL_BUTTON = BUTTON_3;
|
||||
|
||||
float trigger = palm.getTrigger();
|
||||
bool grabButtonPressed = ((palm.getControllerButtons() & BUTTON_FWD) ||
|
||||
(palm.getControllerButtons() & BUTTON_3) ||
|
||||
(trigger > 0.f));
|
||||
(palm.getControllerButtons() & BUTTON_3));
|
||||
|
||||
bool ballAlreadyInHand = _toyBallInHand[handID];
|
||||
|
||||
|
|
Loading…
Reference in a new issue