Forum Discussion
4 Replies
- SeeingBlueMHCP Mentor
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/creator-manual#grabbing-and-holding-entities
- InaCentaurStart Member
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?
- SeeingBlueMHCP Mentor
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.
- InaCentaurStart Member
suppose a sword is held 90 degrees off on one axis, how does one mod the grab rotation?