ObstacleTreadmill Class

Summary

Spawns a bunch of obstacles and randomises them each time the target moves too far away.
Assembly
Animancer.dll
Namespace
Animancer.Samples.InverseKinematics
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["ObstacleTreadmill"] class Type type-node

Syntax

[AddComponentMenu(Strings.SamplesMenuPrefix + "Inverse Kinematics - Obstacle Treadmill")]
[AnimancerHelpUrl(typeof(ObstacleTreadmill))]
public class ObstacleTreadmill : MonoBehaviour

Remarks

Sample: Uneven Ground

Attributes

Type Description
AddComponentMenu
AnimancerHelpUrlAttribute [Assert-Conditional] A UnityEngine.HelpURLAttribute which points to Animancer's documentation.

Properties

Name Value Summary
Slope float

Methods

Name Value Summary
Awake() void
FixedUpdate() void