From 0bdc58231e1f6a172ab7af9b42d9c12d5f4efcac Mon Sep 17 00:00:00 2001 From: memelotsqui Date: Mon, 15 Aug 2022 17:39:01 -0500 Subject: [PATCH] remove adding object3d from component property --- type_templates/glb.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); }