This commit is contained in:
Seth Alves 2018-10-25 07:46:46 -07:00
parent b93807b1a7
commit b8f1c96685

View file

@ -189,6 +189,7 @@ EquipHotspotBuddy.prototype.update = function(deltaTime, timestamp, controllerDa
var UNEQUIP_KEY = "u";
function getWearableData(props) {
if (props.grab.equippable) {
return {
joints: {
LeftHand: [ props.grab.equippableLeftPosition, props.grab.equippableLeftRotation ],
@ -198,6 +199,9 @@ EquipHotspotBuddy.prototype.update = function(deltaTime, timestamp, controllerDa
indicatorScale: props.grab.equippableIndicatorScale,
indicatorOffset: props.grab.equippableIndicatorOffset
};
} else {
return null
}
}
function getAttachPointSettings() {