Help making actor stick!

Non-platform specific questions.

Help making actor stick!

Postby Scorpion50o1 » Thu Mar 17, 2011 3:39 am

ok so i got my gun game viewtopic.php?f=4&t=9766
but since in the comment how can i make the ammo [clip/mag] stick to the gun as if it were put into the gun instead of just moving them seperate :O?
if i didnt explain it very well.... if you put the magazine into the gun i want it to stay with it so u dont have to move them by thereself but together they will move! :oops: please help
i want the clip/mag to stick to it perfectly like a magnet
OMG IM SO BORED <(^^)> (>^^)> (>^^)>
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature.
User avatar
Scorpion50o1
 
Posts: 246
Joined: Fri Apr 17, 2009 1:07 am
Location: TX
Score: 8 Give a positive score

Re: Help making actor stick!

Postby Scorpion50o1 » Thu Mar 17, 2011 4:21 am

lol your not getting what im saying its like when i move the clip/mag to the gun it will stick and not unstick and if i move the clip or gun both will move! i dont want the clip to be able to move like freely
OMG IM SO BORED <(^^)> (>^^)> (>^^)>
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature.
User avatar
Scorpion50o1
 
Posts: 246
Joined: Fri Apr 17, 2009 1:07 am
Location: TX
Score: 8 Give a positive score

Re: Help making actor stick!

Postby skydereign » Thu Mar 17, 2011 4:26 am

Well you don't seem to get what I'm saying... but from that last explanation it sounds like you don't want the clip or mag to move, even if the gun moves. In that case the question doesn't really make sense, as you simply don't parent it, and perhaps set a variable. But if you meant what I thought you meant, than the solution I presented works.

Essentially if I understood the post you refereed to, you want the actors to stick to the gun, so when you move the gun, they will all move with it... and the method I proposed does just that. If you don't like that method, then I can come up with a different one.

-Edit
For example, something like this? The actor on the left is the gun. Click the actor on the right, and place it on the gun, and it will stick to it, in the way I assume you are asking about.
Attachments
test.ged
(1.86 KiB) Downloaded 123 times
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Help making actor stick!

Postby Scorpion50o1 » Thu Mar 17, 2011 4:46 am

:D ty but i dont want it to stick anywhere but the where the clip goes so how can i do that :O? (sorry for being so picky :oops: )
OMG IM SO BORED <(^^)> (>^^)> (>^^)>
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature.
User avatar
Scorpion50o1
 
Posts: 246
Joined: Fri Apr 17, 2009 1:07 am
Location: TX
Score: 8 Give a positive score

Re: Help making actor stick!

Postby skydereign » Thu Mar 17, 2011 4:51 am

Well, that only took 50ish seconds so not that big of a deal. To make the actor's only clip to a certain point (not stick) would be easiest if the animations were all the same size. So, make your gun with clips, and separate them while still keeping the same borders. That way, when you attach the actor, you just set their x and y coordinates to be the same, and it will appear in the right spot.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Help making actor stick!

Postby Scorpion50o1 » Thu Mar 17, 2011 4:58 am

im confused D: could you go to the chat and explain to me :(?
OMG IM SO BORED <(^^)> (>^^)> (>^^)>
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature.
User avatar
Scorpion50o1
 
Posts: 246
Joined: Fri Apr 17, 2009 1:07 am
Location: TX
Score: 8 Give a positive score

Re: Help making actor stick!

Postby Scorpion50o1 » Thu Mar 17, 2011 5:31 am

here is the gun and the clip i want the clip to stick to the red part of the gun ty :D?


--no guns for you! lol--
Last edited by Scorpion50o1 on Thu Mar 17, 2011 4:54 pm, edited 1 time in total.
OMG IM SO BORED <(^^)> (>^^)> (>^^)>
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature.
User avatar
Scorpion50o1
 
Posts: 246
Joined: Fri Apr 17, 2009 1:07 am
Location: TX
Score: 8 Give a positive score

Re: Help making actor stick!

Postby skydereign » Thu Mar 17, 2011 5:43 am

I took off the parenting stuff, as it seems that wasn't your intent, or that you already knew it. Click to move the mag, when it collides with the gun, it will snap to it. The main thing to note are the images.

-Edit
Here it is fused with the other demo...
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Help making actor stick!

Postby Scorpion50o1 » Thu Mar 17, 2011 4:53 pm

ty +1 point! also can u take the guns download off, i dont want ppl taking my gun ideas :D lol
OMG IM SO BORED <(^^)> (>^^)> (>^^)>
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature.
User avatar
Scorpion50o1
 
Posts: 246
Joined: Fri Apr 17, 2009 1:07 am
Location: TX
Score: 8 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest