- Home /
catapult game
Hi all,
I am trying to make a catapult game ( like the one in flash, you load a cat or any character and shoot , if it hits certain thing in reacts to them, like a tree or explosive, a cactus a spring , etc)
I have a cannon that i can rorate up down and side to side and I can add power for the hit..and it instantiate the character and add the correct amount of force.(I use rigidobject.addforce)
so my issue is I am using a terrain : i want it to be mud, stones, grass, trees , how can i check for collision?
I saw something terrain data and splat something, they made me dizzy ... is there an easier way -basically I want to know what does the cat (projectle hit) and makes it react to it
Perhaps "How can I detect collisions with different types of objects?" would have been a more useful title.
I have found that the quality of the question is a major factor in the quality of the answers you'll receive. Also, if you formulate a nice question and google search some of the key terms you'll find that it has already been at least partially answered several times.
0 I did a lot of search. $$anonymous$$y issue is not collision with object , the issue is the terrain is there an easy way to know what you are standing on.
like mud texture, stone texture and so on.
And thank you for talking the time to read my fuzzy question
Answer by flaviusxvii · Jun 20, 2011 at 08:11 PM
Check out the top 6 or 7 results.
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=unity+detect+terrain+type
thank you I went through most of these yesterday, I was looking for something simpler than terrainData
Your answer