-
Notifications
You must be signed in to change notification settings - Fork 28
update the spawn point avatar random placement logic #1908
New issue
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
Conversation
const radius = 0.5 | ||
const x = (Math.random() - 0.5) * 2 * radius + area.x | ||
const z = (Math.random() - 0.5) * 2 * radius + area.z | ||
console.log('mbf', area) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM just remove the logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implemented
LGTM just remove the logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to use the scale of the spawn point entity in order to decide the radius, otherwise we can't change the size of the spawn area
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Connect radius to scale, for increasing spawn size, im assuming spawn points are cylindrical now
they're not, we don't have a specification for that. really it should be labelled size not radius |
implemented |
Summary
https://tsu.atlassian.net/browse/IR-9412
Subtasks Checklist
Breaking Changes
References
closes #insert number here
QA Steps