diff --git a/type_templates/glb.js b/type_templates/glb.js index b320f31..a8f502b 100644 --- a/type_templates/glb.js +++ b/type_templates/glb.js @@ -267,13 +267,11 @@ export default e => { const {instanceId} = app; const localPlayer = useLocalPlayer(); - const rideBone = sitSpec.sitBone ? rideMesh.skeleton.bones.find(bone => bone.name === sitSpec.sitBone) : null; const sitAction = { type: 'sit', time: 0, animation: sitSpec.subtype, - controllingId: instanceId, - controllingBone: rideBone, + controllingId: instanceId }; localPlayer.setControlAction(sitAction); }