I'm trying to make a Turret vehicle, and I'm having a bit of trouble with the animations, specifically the looking animation. Just before anybody posts,
I am looking for help specifically from users who have had experience with turret-like vehicles, such as the default Pirate Cannon or Bushido's Sentry Gun. If you really have no luck understanding what I am trying to communicate and/or you have absolutely no skill in this area, please ask for clarification, or, for the latter, please do not post. If you know someone who possibly has skill in this field, please, show him/her this topic. Thank youHere comes the details:
I'm trying to make a turret-like vehicle, as I explained before, that
functions identical to the default Pirate Cannon in terms of
animation and
movement. It will have three 'parts' of the model:
- The Base, which is immobile at all times
- The Body, mounted on top of the base, which has complete freedom of rotation along the Standard Z Axis (Yaw)
- The Gun, mounted on the top of the body, which has partial freedom of rotation along the Y Axis RELATIVE TO THE BODY (Pitch)
In terms of hierarchy, it's kinda like Base(Body(Gun)), so if the Body rotates 20 degrees to the left, so does the gun, but if the gun rotates 30 degrees upwards, the body will stay stationary.
Here's some imagery:
How exactly do I do this? If a .dsq is required, how should it be set up? I know that there are two variables in the .cs file of most turrets that control the maximum and minimum pitch theta, and that's not exactly what i'm looking for. I'm looking for what animations I have to make exclusively for the gun to look up an down while the body can move left and right. Simultaneously!Fast Responses Appreciated, Trying to release this ASAP!