Bob

altspace/utilities/behaviors. Bob

The Bob behavior adds a bobbing animation to an object

Constructor

new Bob(configopt)

Parameters:
Name Type Attributes Description
config Object <optional>
Properties
Name Type Attributes Default Description
shouldRotate Boolean <optional>
true

Whether the animation should include rotation.

shouldMove Boolean <optional>
true

Whether the animation should include movement.

x Number <optional>
3

Amount of bob on the x axis.

y Number <optional>
5

Amount of bob on the y axis.

Extends

Members

type :string

The string name of this class. This is used for THREE.Object3D#getBehaviorByType.

Overrides:

Methods