05-05-2025 11:18 PM
So I kept trying this.entity.rotation.set(.... fromEuler()..) in OnGrabStart, but for some reason the rotation is never updated?
05-06-2025 06:37 AM
It might be because you're trying to rotate an item a player has grabbed? I believe once grabbed, the rotation of an object is determined by either the initial grab rotation or the grab anchors.
More documentation on grabbable items: https://developers.meta.com/horizon-worlds/learn/documentation/mhcp-program/community-tutorials/crea...
05-06-2025 04:13 PM
I am trying to set rotation in the method called onGrabStart ...
Do grab anchors prevent setting rotation directly to entity by ts?
For an arbitrary entity, how does one set grab anchor?
05-07-2025 04:16 AM
Yes, grab anchor dictate the grab rotation of an object, so setting that objects rotation on grab would not do anything since that rotation get overwrote by grab itself.
05-08-2025 08:40 AM
suppose a sword is held 90 degrees off on one axis, how does one mod the grab rotation?