diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-13 16:10:27 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:09 +0100 |
commit | 31a215ac503e8181d0ae2b95e0b70f912aa035dc (patch) | |
tree | 821c69168806e6a0617d647f8c63645a8db01915 /src/game | |
parent | dc29d98dd840b2d00d0701562f4c1132e5dc5a04 (diff) |
allow particles of child particle systems to be launched with (dynamic) normals
new particle script constructs (in particle blocks):
{velocityType | accelerationType} {last_normal | opportunistic_normal}
the base vector in case of opportunistic_normal is (0,0,0) if the particle is flying, and is a surface normal vector if the particle is in/on a map surface. the base vector in case of last_normal is always a valid direction, though sometimes an arbitrary one (the up direction). in both cases, the initial value of the last/opportunistic normal vector is propagated from the parent particle.
the last/opportunistic vector is a new particle system variable, and the original normal vector is not touched, so this change retains backward-compatibility.
Diffstat (limited to 'src/game')
0 files changed, 0 insertions, 0 deletions