Skip to main content
Participant
April 12, 2025
Solved

Force aim animation

Hi everyone, I'm trying (unsuccessfully so far) to force the aiming animation. I noticed that when you equip a weapon with the gun pose set, the animation plays for about 2 seconds (the player extends their forearm). I'd like to keep that animation active until the weapon is unequipped. Another way to achieve a similar result is by holding down the right mouse button—but without the camera focusing and without disabling the run. Is that possible?

SeeingBlue
Honored Contributor
April 12, 2025

There are two ways to solve this.
1. Each grabbable has an option in the property panel to disable the rest animation.
2. Use setAvatarGripPoseOverride() in the player class. https://developers.meta.com/horizon-worlds/reference/2.0.0/core_player

Upcoming Events : Performance Pro - UI Unleashed - Building Responsive & Performant Interfaces Thursday June 19th 5:00 PM PT - Register June Programming Calendar

2 replies

SeeingBlue
Honored Contributor
April 12, 2025

There are two ways to solve this.
1. Each grabbable has an option in the property panel to disable the rest animation.
2. Use setAvatarGripPoseOverride() in the player class. https://developers.meta.com/horizon-worlds/reference/2.0.0/core_player

Upcoming Events : Performance Pro - UI Unleashed - Building Responsive & Performant Interfaces Thursday June 19th 5:00 PM PT - Register June Programming Calendar
Participant
April 14, 2025

Thanks SeeingBlue ! Option 1 worked perfectly — disabling this option in the property panel did the trick