Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
culmor30
17
Years of Service
User Offline
Joined: 16th Jun 2007
Location: In my head.
Posted: 30th Mar 2008 03:22
Hey, I want to add a gun to my player object as a limb. The player object will still need to be updated every loop with movement commands, and I want my gun to rotate and reposition accordingly. Here's where I create my player:



And then I want to add my limb:



That just tells me that I need to LINK LIMB on the line where I ADD LIMB. I've never used these commands before, and the help files aren't very helpful in this case, for me at least. If someone could explain to me how I would do this, it'd be great.

Thanks.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 30th Mar 2008 10:09
nice command to get your head around.

link limb works like this, when you have made your meahes and add limbs, you move to link limbs. (note some times linking limbs reset the position of the limbs)

take
link limb 2,1,2
link limb 2,2,3


whats it saying is object 2, link limb 2 to limb 1 then link limb 3 to limb 2

so
object 2 - 1Limb <-2Limb <- 3Limb

if the above had been
link limb 2,1,3
link limb 2,3,2

object 2 - 1Limb <- 3Limb <- 2Limb






hope this helps

Dark Physics makes any hot drink go cold.
culmor30
17
Years of Service
User Offline
Joined: 16th Jun 2007
Location: In my head.
Posted: 30th Mar 2008 10:25
That will help, thanks much.

If I run into any other problems I'll post again.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 30th Mar 2008 10:37
add this to the code.

1. makes a new mesh of object 2 or object you are adding
2. add it as a new limb to object 1
3. links it to objects 1 limb 3




once you get the idea on how it all works write it down as it took me some time to remember how I use to do this.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-11-25 06:43:14
Your offset time is: 2024-11-25 06:43:14