mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
first visible RagDoll
This commit is contained in:
parent
e488beb203
commit
47bb5ef147
13 changed files with 189 additions and 41 deletions
|
|
@ -18,8 +18,10 @@ function (Parent, CoreItem, Settings, NotificationCenter) {
|
|||
RagDoll.prototype = Object.create(Parent.prototype);
|
||||
|
||||
RagDoll.prototype.createMesh = function() {
|
||||
this.createLimbMesh("chest");
|
||||
this.createLimbMesh("head");
|
||||
this.createLimbMesh("chest");
|
||||
for(var name in this.options.limbs) {
|
||||
this.createLimbMesh(name);
|
||||
}
|
||||
};
|
||||
|
||||
RagDoll.prototype.createLimbMesh = function(name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue