Next: Fighter Input Controller, Previous: Airbrakes, Up: Motion [Contents][Index]
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
bool
forceYUpIf enabled, the billboard will force itself to obey the global Y orientation and will only rotate around the Y axis.
Default value: true
Transform
targetWhat object are we targeting? If none is set, the Main Camera will be targeted instead
float
speedIf not instant, what is our turning speed?
Default value: 6.0f
bool
autoFlipShould the sprite flip directions left & right automatically depending on the facing of the object? Useful for characters.
Default value: false
bool
invertToggle this if the sprite is flipping the wrong way.
Default value: false
bool
forceYUpIf enabled, the billboard will force itself to obey the global Y orientation and will only rotate around the Y axis.
Default value: true
Transform
targetWhat object are we targeting? If none is set, the Main Camera will be targeted instead
float
speedIf not instant, what is our turning speed?
Default value: 6.0f
bool
autoFlipShould the sprite flip directions left & right automatically depending on the facing of the object? Useful for characters.
Default value: false
bool
invertToggle this if the sprite is flipping the wrong way.
Default value: false
Next: Fighter Input Controller, Previous: Airbrakes, Up: Motion [Contents][Index]