Skip to content

Commit be32bae

Browse files
committed
rename
1 parent c5be38e commit be32bae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reaction_components/stretchable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AFRAME.registerComponent('stretchable', inherit(base, {
99
usePhysics: {default: 'ifavailable'},
1010
invert: {default: false},
1111
physicsUpdateRate: {default: 100},
12-
useWorldSpaceCoordinates: {type: 'bool', default: false}
12+
useWorldPosition: {type: 'bool', default: false}
1313
},
1414
init: function () {
1515
this.STRETCHED_STATE = 'stretched'
@@ -38,7 +38,7 @@ AFRAME.registerComponent('stretchable', inherit(base, {
3838
tick: function (time, timeDelta) {
3939
if (!this.stretched) { return }
4040
this.scale.copy(this.el.getAttribute('scale'))
41-
if (this.data.useWorldSpaceCoordinates) {
41+
if (this.data.useWorldPosition) {
4242
this.stretchers[0].object3D.getWorldPosition(this.handPos)
4343
this.stretchers[1].object3D.getWorldPosition(this.otherHandPos)
4444
} else {

0 commit comments

Comments
 (0)