Bird

Move in a circular motion with potential randomisation.

Build Singleplayer & Multiplayer Logic - about [SP] or [MP] behaviours or components.

An Object with Bird Behaviour has:

  • No collisions with other objects

  • Collisions with the player

  • A 45 degree tilt toward the center of rotation (speed no longer changes the angle)

  • Define a zone for circular movement (object tilts)

  • Add height and width ranges for randomised motion

Common Uses

  • Orbiting movement for birds flying, fish swimming, etc. (select animation to display)

  • Create randomised motion during orbit when the maximum and minimum heights and/or widths for movement are not the same values.

  • Apply to a Parent Object to control motion of Child Objects (will also be tilted 45 degrees)

Communications

There are no direct communications with Bird Behaviour, but you can control it or interact with it using other logic.

Movement

The Object orbits around the location where it is placed depending on the set parameters.

Set different maximum and minimum heights and widths to create a 2 or 3D range for a random path during orbit.

Motion range varies based on parameters:

Parameters

OptionsDetails

Flying Animation - select which of the Asset's animations will display during the flying movement. NOTE Test to make sure the selected animation looks as expected while in motion. There is no parameter to adjust the angle of tilt or the speed of the animation with this behaviour.

Flying Speed (slider) - set the speed the Object will move within the parameters set below.

Flying Min. Width (slider) - set the minimum distance from an Object's pivot point where it will orbit during play mode. This parameter is visualised with a smaller blue circle Gizmo that adjusts as you move the slider or change the value.

Flying Max. Width (slider) - set the maximum distance from an Object's pivot point where it will orbit during play mode. This parameter is visualised with a larger blue circle Gizmo that adjusts as you move the slider or change the value.

Flying Max. Height (slider) - set the maximum distance from an Object's position on the vertical Y axis where it will ascend to in orbit during play mode.

Flying Min. Height (slider) - set the minimum distance from an Object's position on the vertical Y axis where it will descend to in orbit during play mode.

Last updated

Logo

Copyright Β© 2012- 2023 The Sandbox. All Rights Reserved.