This should be a pretty quick feature to make for someone who is better at CFraming and general mathematics than I am. I’ll do my best to explain what I need, but if I’m unclear anywhere please feel free to ask any questions.
Also, I’m looking for this as soon as possible, as in, hopefully today, as it’s really just a single equation and won’t take much time to make.
The challenge:
I am making a spray painting feature in my game. A user can click anywhere in the brick, and the spray paint will be applied to the part of the brick that they click on. However, if they click on the edge/corner of the face of the brick, the spray paint brick can not extend over the edge of the brick. Refer to the following images for reference:
Where the user clicks
What mine does
What I need it to do
What I want:
The best way for you to deliver this (so that you’ll have no need for further information as to my specific use case) would be to create a simple tool with the following functionality:
- Allows user to click Parts, applying another Part as to resemble spray paint (don’t worry about images)
- Prevents the spray paint Part from going over the corner, but otherwise positioning the spray paint Part where the user clicked
- Allows for varying spray paint sizes and has clear variables for determining that information
It doesn’t have to be very clean and the tool doesn’t need much functionality. I’m pretty much going to take the CFraming portions out and use it somewhere else, but I’d like to have a fully functioning demonstration of your solution.
Contact:
This is a super simple project. I think that we can get by with simply using the Personal Messaging feature here on Discourse.
Hopefully I’ve been clear and hopefully I’ve given some measure of what I’m trying to accomplish here. If not, please feel free to let me know.