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
Add option to clone relative to prop origin instead of prop bounding box
The text was updated successfully, but these errors were encountered:
@stepa2
The tool already uses the prop's position as the stack origin:
local entPos = ent:GetPos() local entAng = ent:GetAngles() ... -- calculate the next stacked entity's position entPos = entPos + (direction * distance) + offset
Direction and distance are calculated on WORLD or PROP mode. OBB Mins/Maxs are used so the prop can easily stick to the one at the previous iteration.
WORLD
PROP
stick
Sorry, something went wrong.
No branches or pull requests
Add option to clone relative to prop origin instead of prop bounding box
The text was updated successfully, but these errors were encountered: