keyframe_track
Jump to navigation
Jump to search
keyframe_track
is a point entity available in all Source games.
Entity description
"Animation KeyFrame" - Doesn't work. It is a keyframe in a set of movement paths for an entity. The first keyframe of the set must be a move_track entity to work properly. However, this entity seems to be replaced by the path_track entity. A path_track will give more control over entities that passes through it.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
- Pitch Yaw Roll (Y Z X) (angles) <angle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
KeyFrame:
- Next KeyFrame (NextKey) <targetname>
- Name of the next keyframe along this keyframe path.
- Speed (units per second) (MoveSpeed) <integer>
- KeyFrame moving speed.
Inputs
Parentname:
- SetParent <string>
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string>
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string>
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
Outputs
See also
- path_track - Entity that has replaced this one.
- move_track - Entity probably connected to this entity.
- path_corner - Entity which also defines paths for other entities