AMM: Light Components
How to add light components with AMM
Summary
Published: Feb 09 2024 by manavortex Last documented edit: Feb 11 2024 by manavortex
This page will show you how to add a light component to AMM props.
Wait, this is not what I want!
For a quick overview on lights and their properties, check Cheat Sheet: Lights (currently WIP)
For an explanation about light, check Lights explained (currently WIP)
Adding lights to AMM props
This is as easy as finding the right component, adding it to your prop (either in the root entity or in each appearance in the .app file) and naming it Light:

This enables the AMM light panel in the target tools.
Not all light components actually support colour and intensity changes. Candlelight, for example, does not.
Placing lights and effects
Your lights will be anywhere relative to your prop. How can you position them relative to the actual object?
Add an Empty in Blender (Viewport, Hotkey:
Shift+A
-> Empty -> Plain Axes)Move the empty to the position where you want your light to be
Switch to the Object tab and see its location transform:

Now that you have the relative position, switch back to Wolvenkit: we need to add it to our entSlotComponent
.
Open the
slots
array and select your firstentSlot
Find the
relativePosition
property in the box on the rightCopy the values from the "Transform" field in Blender (Screenshot above) to the corresponding fields under
relativePosition
(screenshot below)

m
automatically.Save and see your effect changing positions!
Last updated
Was this helpful?