|
Hi Community, My character hase to shoot a rope. I thought about using a cylinder as rope because it will be taut (do you say it like that in english?) all the time. For the right length I would scale it on the local y-axis. But I want to be able to texture it. My question is how can I contoll the "procedural-texture-mapping" (how often the texture is set), so that my texture never looks scratched? i think I know that it is somewhere in materal section but I cant find it... (I hope my english isn´t too bad :D ) Thanks...
(comments are locked)
|
|
Since you're shooting a rope, you have a start and an end point. Divide the length by the distance one rope texture "piece" should have and you get the scale factor. Yes, all I wanted to know was rope.renderer.material.mainTextureScale = new Vector2 (1, numTiles); but thank you :D
Jul 09 '12 at 06:53 PM
AyJayKaySoft
(comments are locked)
|
