⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    HandBoneOffsets Scriptable Object

    Overview

    The HandBoneOffsets scriptable object contains offsets for the IK targets on a weapon or wieldable item to ensure that the character's hands and fingers align correctly at runtime. This is used alongside a WieldableItemKinematics component on the weapon, and if the weapon is edited at runtime then the hand offsets properties will be embedded in its inspector.

    Inspector

    HandBoneOffsets

    Properties

    Each hand in the offsets asset has the following properties:

    Name Type Description
    Hand Position Offset Vector The position offset for the IK target of the hand from the transform selected in the WieldableItemKinematics component.
    Hand Rotation Offset Vector The rotation offset for the IK target of the hand from the transform selected in the WieldableItemKinematics component.
    Offset Fingers Boolean Do the fingers on the wieldable have a rotation offset compared to the character.
    Finger Offsets Vector Array An array of finger rotation offsets. These will only be visible if Offset Fingers is set to true. Next to each rotation offset is a copy and paste button that you can use to quickly duplicate offsets across fingers.

    See Also

    First Person Body

    Animator Controllers

    WieldableItemKinematics

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX