Skip to content

Commit

Permalink
added speed setters to Body.set
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Jan 6, 2022
1 parent 6579dfd commit 3ff6ff4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/body/Body.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,12 @@ var Axes = require('../geometry/Axes');
case 'angularVelocity':
Body.setAngularVelocity(body, value);
break;
case 'speed':
Body.setSpeed(body, value);
break;
case 'angularSpeed':
Body.setAngularSpeed(body, value);
break;
case 'parts':
Body.setParts(body, value);
break;
Expand Down

0 comments on commit 3ff6ff4

Please sign in to comment.