Move with

Move with #

Featureful SDK has a parenting system that allows to attach one entity to another - the attached entity (a child) will follow the parent entity, keeping the initial offset between them and changing the angles along with the parent entity.

  • To set up a connection just put the parent’s entity name in the Move with (movewith) parameter of the child entity.
  • The initial offset is calculated from the initial positions of entities on the map so the entity positioning on the map matters.
  • The origin brushes are not required for move with, but the brush entity still should have its own origin brush if it should rotate on its own. It’s also better to have origin brush if the entity is going to move with some rotating entity like func_rotating or func_tracktrain otherwise some effects like sounds or breakable gibs may play in a wrong place.
  • In cases where Move with is not enough the motion_manager can be used instead.

Striclty speaking this is not the same as Movewith from Spirit of Half-Life - the implementation is different so don’t expect it to work exactly like Spirit’s version.