Log inGet started
Package

lamp_post.bundle

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

lamp_post (bundle)

A lamp post: a slim post, a lit head sitting on top of it, and the point light it casts. Four entities under one root — post, head and glow — built from builtin meshes and materials, so the bundle carries no geometry of its own. The head is drawn round the light and casts no shadow, so the light reaches everything around the lamp; the post ends under the head and casts its shadow at the lamp's foot.

Its foot sits at y = 0 and it stands 2.53 units tall, so placing it at a position on the ground puts it on the ground.

asset.resolve("@builtin::bundles.lamp_post", "bundle"):instantiate(nil, {
    position = { 4, 0, 2 },
    rotation = { 0, 30, 0 },
    scale = 1.2,
})

What it is for

It is the prop a starting scene places to show what placing an asset does: one call brings a whole hierarchy in as the scene's own entities, and the Light riding along shows that a bundle carries behaviour and not only shape.

Reach for it whenever a scene needs a light source that reads as an object rather than as a floating value.