LookAtAnimation
ecs.LookAtAnimation
Description
Maintain orientation to face a given target or point.
Functions
See component schema.
Schema
Property | Type | Description |
---|---|---|
target | eid | The target object to track |
targetX | number | The target x position (if no target is specified) |
targetY | number | The target y position (if no target is specified) |
targetZ | number | The target z position (if no target is specified) |