Next: , Previous: , Up: Motion   [Contents][Index]


12.2 Billboard

Component: Billboard

This component causes an object to turn to face another object automatically. If no Target is provided, the object will find a target. If ’Instant’ is false, it will turn over time. Can be used with ’TargetingComputer’ (useful for laser beams, billboard sprites, creepy eyes etc)

Targeting Sensor causes this object to target what ever the sensor sees. Set this as a Message Receiver on the Targeting Sensor component

Field of Billboard: bool forceYUp

If enabled, the billboard will force itself to obey the global Y orientation and will only rotate around the Y axis.

Default value: true

Optional Field of Billboard: Transform target

What object are we targeting? If none is set, the Main Camera will be targeted instead

Field of Billboard: float speed

If not instant, what is our turning speed?

Default value: 6.0f

Field of Billboard: bool autoFlip

Should the sprite flip directions left & right automatically depending on the facing of the object? Useful for characters.

Default value: false

Field of Billboard: bool invert

Toggle this if the sprite is flipping the wrong way.

Default value: false

Field of Billboard: bool forceYUp

If enabled, the billboard will force itself to obey the global Y orientation and will only rotate around the Y axis.

Default value: true

Optional Field of Billboard: Transform target

What object are we targeting? If none is set, the Main Camera will be targeted instead

Field of Billboard: float speed

If not instant, what is our turning speed?

Default value: 6.0f

Field of Billboard: bool autoFlip

Should the sprite flip directions left & right automatically depending on the facing of the object? Useful for characters.

Default value: false

Field of Billboard: bool invert

Toggle this if the sprite is flipping the wrong way.

Default value: false


Next: , Previous: , Up: Motion   [Contents][Index]