You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/holdable/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ Add the `holdable` component to an entity you'd like to make grabbable, such as
37
37
38
38
- Left-hand interactions are mirrored - position and rotation offsets are automatically flipped when grabbing with the left hand.
39
39
- Using "0 0 0" for position or rotation will indicate no custom position or rotation. For rotation, this means the rotation will be the same as the object's original rotation when grabbed.
40
+
- If using a custom rotation and position, just know that rotation pivots around the controller, not the model's center. It's easiest to set the custom rotation before position.
40
41
41
42
## Behavior & Features
42
43
@@ -54,7 +55,6 @@ Add the `holdable` component to an entity you'd like to make grabbable, such as
54
55
55
56
- You don't need to manually add the intersection class (`.interactable`) - `holdable` adds it automatically.
56
57
- It's recommended to use the `post-model-load-refresh` component (part of `mss-aframe-kit`) if working with GLTF models to ensure raycasters and physics bodies are refreshed post-load.
57
-
- If using a custom rotation and position, just know that rotation pivots around the controller, not the model's center. It's easiest to set the custom rotation before position.
0 commit comments