mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-26 07:30:10 +02:00
rats
This commit is contained in:
parent
b93807b1a7
commit
b8f1c96685
1 changed files with 13 additions and 9 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue