Bird

Move in a circular motion with potential randomisation.

  • Define a zone for circular movement (object tilts)

  • Add height and width ranges for randomised motion

PERFORMANCE TIP In multiplayer Experiences, there are two layers of logic that will not communicate with each other: singleplayer [SP] and multiplayer [MP]. For best performance, only apply [MP] behaviours and components to objects that MUST be synchronised to all players (or communicate on that layer), and maximise use of the [SP] (Client Only) layer.

USAGE TIP This behaviour will not communicate with Quests or [SP] behaviours or components. It can be used in singleplayer Experiences.

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)

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.