We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
relativeoriginoffset is supposed to offset the origin of a particle relative to the forward, right, and up directions of the velocity.
relativeoriginoffset
When using the pointparticles function, the origin is correctly updated with this relative offset, but is then overridden by this block:
pointparticles
if (!(drawastrail || definedastrail)) { trailpos[0] = lhrandom(originmins[0], originmaxs[0]); trailpos[1] = lhrandom(originmins[1], originmaxs[1]); trailpos[2] = lhrandom(originmins[2], originmaxs[2]); }
This only takes into account the value of originoffset, which is based on the world axis.
originoffset
The text was updated successfully, but these errors were encountered:
I moved this code earlier and I don't yet see any issues:
if (drawastrail) { VectorCopy(originmins, trailpos); trailstep = traillen / cnt; } else { VectorCopy(center, trailpos); trailpos[0] = lhrandom(originmins[0], originmaxs[0]); trailpos[1] = lhrandom(originmins[1], originmaxs[1]); trailpos[2] = lhrandom(originmins[2], originmaxs[2]); trailstep = 0; }
Sorry, something went wrong.
velocity is ignored on many of them too.
No branches or pull requests
relativeoriginoffset
is supposed to offset the origin of a particle relative to the forward, right, and up directions of the velocity.When using the
pointparticles
function, the origin is correctly updated with this relative offset, but is then overridden by this block:This only takes into account the value of
originoffset
, which is based on the world axis.The text was updated successfully, but these errors were encountered: