recently i have been exporting some models for moving_target and i have now got to a stage where a lot of them have turrets on them. i get the vehicle in game ok, but the problem is the turret rotates around the wrong point.
http://img89.imageshack.us/my.php?image ... 270fr4.jpg
so my question is what point does the turret rotate around and how do i solve this problem?
thanks in advance.
EDIT: wait, i think i'm on the verge of solving it, i just messed with the track center values and that has done something good for it, so i'll keep messing around with that. funny how you try for days to get something to work and then when you give up and start a topic about the problem you find the answer a couple of minutes later :evil:
EDIT2: forget that, i don't think it did anything except move the camera
Vehicle turrets problem
Moderator: Moderators
-
Murdocr
- minilogoguy18
- Master Bounty Hunter

- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: vehicle turrets problem.
its because you have to set up bones for the turret and envelope the turret to those bones, right now it seems to just be rotating around dummyroot since its the closest thing the game can find. why are you guys exporting untextured models though? kinda a waste of time if you ask me, a model is nothing unless it has a good texture.
-
Murdocr
RE: vehicle turrets problem.
thanks mini, i'm exporting untextured because i'm just trying to get the turret to work first. do i have to do anything specific with the bones. ie name them something special or register them in an odf etc or do do i just need to add a bone and envelope?
EDIT: also do they have to be bones or can they be nulls aswell?
EDIT: also do they have to be bones or can they be nulls aswell?
- minilogoguy18
- Master Bounty Hunter

- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: vehicle turrets problem.
you can make an entire unit skeleton outta nulls if you want to, i only used bones for walkers and units, everything else had nulls cause bones get converted to nulls when they are exported to a game cause all that needs to be remembered is the point of origin and the transform pivot. im sure they have seperate names though, i dont know them but try opening a model with bconstructor and look at its skeleton setup and you should be able to spot the bones. ive only made veh turrets for JA but its simple to do, you just make a pitch and yaw bone and the pitch is child to the yaw and the turrets base that swivels is rigged to the yaw bone while the part that aims it up and down is rigged to the pitch bone.
-
Murdocr
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
- minilogoguy18
- Master Bounty Hunter

- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
