Update Entity Position Relative to Another Entity

From SIMboxWiki
Jump to navigation Jump to search

This example LOC attaches a container object to an oil rig station (at the station01 subpart) to illustrate how one can update an entity position relative to another entity. This makes it so that the entities' relative positions are constant. In the example, the container object is derived from the Structure folder and the StaticMotion LOC was blocked, since the AttachToEntity LOC is now the motion model of the entity.

File:AttachToEntity.rar