|
TwoTone Capalini
Registered User
Join date: 13 May 2007
Posts: 5
|
11-28-2007 08:03
I made a hollow cylinder prim which has my tire tread texture on the outside of it and a second cylinder prim inside of the hollowed out section of teh first prim and this one is the rim and wears the rim texture. I put the Front wheel Script in the rim and linked everything up and when I drove the vehicle, only the rim turned. SO I then added the same script to the outer prim which is the tire. When I drove it a second time both rim and tire rotated as they should but the texture of the tire tread spins rather than rotate the same direction as the rim does. Why is that and how do I correct that.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
11-28-2007 08:43
From: TwoTone Capalini I made a hollow cylinder prim which has my tire tread texture on the outside of it and a second cylinder prim inside of the hollowed out section of teh first prim and this one is the rim and wears the rim texture. I put the Front wheel Script in the rim and linked everything up and when I drove the vehicle, only the rim turned. SO I then added the same script to the outer prim which is the tire. When I drove it a second time both rim and tire rotated as they should but the texture of the tire tread spins rather than rotate the same direction as the rim does. Why is that and how do I correct that. you'll need a different call in the tire portion of the script, and you're not going to want the outside wall of the tire to rotate, because that's where your problem is... the tread portion is goin to need a slide anim style, not a rotate style... and you're only allowed one type per prim... now you could use llTargetOmega on the tire prim, and that may give you a better version of what you want
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
TwoTone Capalini
Registered User
Join date: 13 May 2007
Posts: 5
|
11-28-2007 09:17
Thank you for the quick response, Void. Unfortunately, I dont create my own scripts at this time but am learning to do so. So I wouldnt really know how to insert or create the mod to a script much less create one from scratch. Any assisstance would be appreciated immensely.
|