Next: Teleporter, Previous: Spin Motor, Up: Motion [Contents][Index]
This component causes objects (such as buildings) to snap to the object underneath using a raycast. It works by raycasting down from the origin of this object, and snaps that origin to the first collider it hits.
bool onStartShould we do this as soon as we spawn?
Default value: true
bool everyFrameShould we do this constantly?
Default value: true
bool autoParentShould we automatically parent to the object we snap to?
Default value: false
Immediately snaps this object to what ever is below, based on the settings above.
bool onStartShould we do this as soon as we spawn?
Default value: true
bool everyFrameShould we do this constantly?
Default value: true
bool autoParentShould we automatically parent to the object we snap to?
Default value: false
Immediately snaps this object to what ever is below, based on the settings above.