• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by jaydenpiz · Oct 27, 2012 at 10:46 AM · gamepaint

Spray painting

Hey guys, ive got a bit of a tricky one here. now, ive tried and tried to do this, different codes, youtubeing etc. but its not working for me. So, ive resolved to asking the community, well, heres my issue. In my video game, you control a young kid, and i need him to be able to draw on the walls, or spray paint on the walls, in real time. a good example of what i want to do is in this link, click me its a game called erie, and you have the ability to draw on walls, floors, all objects. I'd like some professional help implementing this into my game. Any code or ideas much appreciated

Cheers

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image fafase · Oct 27, 2012 at 10:51 AM 0
Share

Use raycast and when colliding apply a texture that looks like a spray, with transparency and all. There is similar question here

http://answers.unity3d.com/questions/323127/blood-breath-swears-f.html

where the asker wanted to have steps on the snow. Same process, there is even a project attached to the question to demonstrate.

avatar image jaydenpiz · Oct 27, 2012 at 11:41 AM 0
Share

you dont make much sense to me, i want to be able to spray, have a particle effect whilst, you know spraying, and be able to spray onto an object from a distance

avatar image Fattie · Oct 27, 2012 at 12:18 PM 0
Share

Fafase has just told you exactly how to do it.

You can either learn about decals, learn about projectors, or learn about SetPixels.

O$$anonymous$$?

If you are a new programmer you should be aware that they are hard, hard and extremely advanced respectively.

You can easily search on the three topics here, or try to find some codez or whatever for those topics here or elsewhere on the web

avatar image Fattie · Oct 27, 2012 at 12:19 PM 0
Share

regarding having "a particle effect" you will have to use ......... "a particle effect". simply open the unity doc to the huge particle section

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Help Touch inputs 0 Answers

Need Help making a simple game! 2 Answers

Ball in Pong dissapears after hitting paddle 0 Answers

Third Person Controller Question 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges