Slyder Jonas
Registered User
Join date: 13 Jul 2006
Posts: 4
|
07-16-2006 11:00
I"ve created an object that I"d like to spin in place, as if it were a rolling ball, I just don"t want it to move. I don"t know how to go about doing this, coding it, or implementing said coding into the object I"ve created. I imagine it would be extremely simple and easy for someone who knew how to code these things. Could I get some advice or help, please?
If any of you -really- want to help, it would be ideal if the object (that would be attached to a character) would spin while walking, and stop spinning when you weren"t, and spin the opposite way when walking backwards.
If anyone"s curious, I"m playing around with stuff, and for my first "project" I decided that I"d make a Katamari (From Katamari Damacy.) and a Prince avatar.
|
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
|
07-17-2006 20:25
From: Slyder Jonas I"ve created an object that I"d like to spin in place, as if it were a rolling ball, I just don"t want it to move. I don"t know how to go about doing this, coding it, or implementing said coding into the object I"ve created. I imagine it would be extremely simple and easy for someone who knew how to code these things. Could I get some advice or help, please?
If any of you -really- want to help, it would be ideal if the object (that would be attached to a character) would spin while walking, and stop spinning when you weren"t, and spin the opposite way when walking backwards.
If anyone"s curious, I"m playing around with stuff, and for my first "project" I decided that I"d make a Katamari (From Katamari Damacy.) and a Prince avatar. Only avatars can run animations. To make an object spin, you need to use a script - in particular a script that performs an llTargetOmega. However, if you want the "katamari" to move realistically, it might be better to make it a physical object and let the avatar push it around. That way, it will naturally tend to roll because that's what physics makes round objects do. 
|