Arms following pivoted guns?

Arms following pivoted guns?

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Arms following pivoted guns?

Post by Snipawolf »

Has anyone gotten a good way using scripts to get how far to turn each arm for when you have a weapon that is mounted on a vehicle with a man manning it?
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

wouldnt it be easier to make the man and the gun one object so they turn pivot together? it might not look as nice but it would be much easier to implement
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

The gun would be mounted on another part, e.g. a tripod. Obviously you can't say the man is attached to the tripod.
SpikedHelmet
MC: Legacy & Spring 1944 Developer
Posts: 1948
Joined: 21 Sep 2004, 08:25

Post by SpikedHelmet »

No, but the man can be attached to the gun, and when the gun turns along the pivot of its tripod the man goes around with the end of the gun. Just script his legs to give some sort of shuffling anim. Like SWS's eweb thingy. And the MG on the RIB in BF2.
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

I already did that in one of my units (the buggy, which had... *checks UPS file* 30 parts, on the dot) that had a driver and a guy mounting a gun in the back.

It looks alright, but I just wanted to know if there was something that looked better.
Post Reply

Return to “Game Development”