Projection Elements
Projection Elements¶
Projection Elements make up the body of a Projection and how that Projection interact or visualize in a game scene.
Projection Elements¶
Entity Projection Element¶
Entity projections spawn an Entity into the scene.
Note: The spawned Entity Definition has a special internal link that allows it to be picked up by the Projection Interaction.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Duration | The duration of the element in milliseconds. | Number |
| Entity Definition | The entity definition to spawn. | Entity Definition |
| Ignore Source | Whether to ignore the creator of the projectile when checking collisions. Prevents the source from hitting itself. | Toggle |
| Is Player Collidable | Whether the projectile can collide with a player character. | Toggle |
| Is Rotational Alignment Enabled | Whether to use the rotation as a rotational alignment. | Toggle |
| Modifiers | The modifiers applied to this element, such as translation, rotation, velocity, or scale adjustments. | Projection Element Modifier |
Line¶
Line projections cast a ray in the source's facing direction, detecting objects along the path.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Distance | The distance of the line in the source's facing direction, in world-space units. | Number |
| Duration | The duration of the element in milliseconds. | Number |
| Ignore Source | Whether to ignore the creator of the projectile when checking collisions. Prevents the source from hitting itself. | Toggle |
| Is Player Collidable | Whether the projectile can collide with a player character. | Toggle |
| Modifiers | The modifiers applied to this element, such as translation, rotation, velocity, or scale adjustments. | Projection Element Modifier |
Sphere¶
Sphere projections detect objects within a spherical area around the source.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Diameter | The diameter of the sphere in world-space units. | Number |
| Duration | The duration of the element in milliseconds. | Number |
| Ignore Source | Whether to ignore the creator of the projectile when checking collisions. Prevents the source from hitting itself. | Toggle |
| Is Player Collidable | Whether the projectile can collide with a player character. | Toggle |
| Modifiers | The modifiers applied to this element, such as translation, rotation, velocity, or scale adjustments. | Projection Element Modifier |
Volume¶
Volume projections detect objects within a rectangular box area, with configurable width, height, and depth.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Depth | The depth of the volume on the Z axis, in world-space units. | Number |
| Duration | The duration of the element in milliseconds. | Number |
| Height | The height of the volume on the Y axis, in world-space units. | Number |
| Ignore Source | Whether to ignore the creator of the projectile when checking collisions. Prevents the source from hitting itself. | Toggle |
| Is Player Collidable | Whether the projectile can collide with a player character. | Toggle |
| Modifiers | The modifiers applied to this element, such as translation, rotation, velocity, or scale adjustments. | Projection Element Modifier |
| Width | The width of the volume on the X axis, in world-space units. | Number |