mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed input controllerism - fixes #28
This commit is contained in:
parent
a59a258ad6
commit
f5eacb6335
13 changed files with 163 additions and 223 deletions
|
|
@ -112,10 +112,12 @@ function (Box2D, Settings, CollisionDetector) {
|
|||
// to prevent higher jumping running uphill, etc.
|
||||
}
|
||||
|
||||
/*
|
||||
Doll.prototype.jumping = function () {
|
||||
var vector = new Box2D.Common.Math.b2Vec2(0, -0.05);
|
||||
this.body.ApplyImpulse(vector, this.body.GetPosition());
|
||||
}
|
||||
*/
|
||||
|
||||
Doll.prototype.destroy = function () {
|
||||
this.body.GetWorld().DestroyBody(this.body);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue