mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added ragdoll with one limb
This commit is contained in:
parent
b55f6d58fc
commit
e488beb203
18 changed files with 511 additions and 132 deletions
|
|
@ -71,7 +71,10 @@ function (Parent, Settings, NotificationCenter, Exception) {
|
|||
|
||||
NotificationCenter.trigger("view/createAnimatedMesh", texturePaths, callback, {
|
||||
visible: false,
|
||||
pivot: "mb",
|
||||
pivot: {
|
||||
x: 35/2,
|
||||
y: 40
|
||||
},
|
||||
width: 35,
|
||||
height: 40
|
||||
});
|
||||
|
|
@ -85,7 +88,10 @@ function (Parent, Settings, NotificationCenter, Exception) {
|
|||
NotificationCenter.trigger("view/addMesh", mesh);
|
||||
}
|
||||
NotificationCenter.trigger("view/createMesh", texturePath, callback, {
|
||||
pivot: "mb",
|
||||
pivot: {
|
||||
x: 5,
|
||||
y: 12
|
||||
},
|
||||
width: 10,
|
||||
height: 12
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue