⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    AnimStateObjectSwapperTarget MonoBehaviour

    Overview

    The AnimStateObjectSwapperTarget behaviour swaps out an object with a pooled physics object. It is paired with an AnimStateObjectSwapper state machine behaviour that triggers the swap.

    Inspector

    AnimStateObjectSwapperTarget

    Properties

    Name Type Description
    Target Transform Transform The object to swap.
    Pooled Object PooledObject The pooled object to swap the target object with.
    Spawn Velocity Vector3 The velocity to spawn the physics object at relative to the target object rotation.
    Spawn Angular Velocity Vector3 The angular velocity of the spawned physics object.

    See Also

    AnimStateObjectSwapper

    PooledObject

    Unity Animator

    Unity AnimatorController

    Unity Rigidbody

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